fix mkbootfs for systems that lack PATH_MAX
Change-Id: I1b841bde6de6c8e762c5fba35e6d6d701f18bb05
This commit is contained in:
parent
0375fd133a
commit
a865f6d85a
1 changed files with 4 additions and 0 deletions
|
@ -44,7 +44,11 @@ static struct fs_config_entry* canned_config = NULL;
|
|||
|
||||
/* Each line in the canned file should be a path plus three ints (uid,
|
||||
* gid, mode). */
|
||||
#ifdef PATH_MAX
|
||||
#define CANNED_LINE_LENGTH (PATH_MAX+100)
|
||||
#else
|
||||
#define CANNED_LINE_LENGTH (1024)
|
||||
#endif
|
||||
|
||||
static int verbose = 0;
|
||||
static int total_size = 0;
|
||||
|
|
Loading…
Reference in a new issue