diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-11 00:44:05 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-11 00:45:34 +0200 |
commit | b54d026f982a9f6c62d3276908a3fbc3cc628a9d (patch) | |
tree | 922c28b4aa43f0248ccce7f092943e1ab30227e4 /mkfs/mkfs.c | |
parent | eb01ccca21a9a2e1693b28871f65934e8931e3bf (diff) |
Add --one-file-system option to gensquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r-- | mkfs/mkfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c index 8b8ecc3..f0d1e73 100644 --- a/mkfs/mkfs.c +++ b/mkfs/mkfs.c @@ -78,6 +78,9 @@ static int read_fstree(fstree_t *fs, options_t *opt) if (opt->keep_time) flags |= DIR_SCAN_KEEP_TIME; + if (opt->one_filesystem) + flags |= DIR_SCAN_ONE_FILESYSTEM; + return fstree_from_dir(fs, opt->packdir, flags); } |