From b637566020abe184cdda199d640c636a7565a05c Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Sun, 6 Aug 2023 21:35:58 +0200 Subject: tar2sqfs: Add option to exclude files Using --exclude or -E it is now possible to exclude files from the input tar stream. The options can be used multiple times. Signed-off-by: Richard Weinberger --- bin/tar2sqfs/src/tar2sqfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/tar2sqfs/src/tar2sqfs.h') diff --git a/bin/tar2sqfs/src/tar2sqfs.h b/bin/tar2sqfs/src/tar2sqfs.h index e853ae9..5dcfad7 100644 --- a/bin/tar2sqfs/src/tar2sqfs.h +++ b/bin/tar2sqfs/src/tar2sqfs.h @@ -29,6 +29,8 @@ extern bool no_tail_pack; extern bool no_symlink_retarget; extern sqfs_writer_cfg_t cfg; extern char *root_becomes; +extern char **excludedirs; +extern size_t num_excludedirs; void process_args(int argc, char **argv); -- cgit v1.2.3