diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-31 19:25:16 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-31 19:25:16 +0200 |
commit | 3559e5e0e840839ae85aa02c0748f89676c0a5e8 (patch) | |
tree | 004066f10f22b245d22ac73f71fd17ac5c8e3f06 /mkfs/mkfs.h | |
parent | c4a945dd254af75d334fdd881076c665184faa31 (diff) |
gensquashfs: allow combining packdir and packfile
If packdir and packfile are both specified, use packdir as
alternate root.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/mkfs.h')
-rw-r--r-- | mkfs/mkfs.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mkfs/mkfs.h b/mkfs/mkfs.h index 67dc994..c73b74e 100644 --- a/mkfs/mkfs.h +++ b/mkfs/mkfs.h @@ -17,12 +17,6 @@ #include <fcntl.h> #include <errno.h> -typedef enum { - PACK_NONE, - PACK_FILE, - PACK_DIR, -} E_PACK_MODE; - typedef struct { unsigned int def_uid; unsigned int def_gid; @@ -34,10 +28,10 @@ typedef struct { int devblksz; bool quiet; const char *infile; + const char *packdir; const char *outfile; const char *selinux; char *comp_extra; - E_PACK_MODE mode; } options_t; typedef struct { |