From dddccd5e55e36ee03515791250bb5dc6858cb39b Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Mon, 23 Aug 2021 10:33:31 +0200 Subject: [PATCH] tarfilter: expand description text --- tarfilter | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tarfilter b/tarfilter index 6c1c766..dbd6e49 100755 --- a/tarfilter +++ b/tarfilter @@ -46,7 +46,10 @@ def main(): description="""\ Filters a tarball on standard input by the same rules as the dpkg --path-exclude and --path-include options and writes resulting tarball to standard output. See -dpkg(1) for information on how these two options work in detail. +dpkg(1) for information on how these two options work in detail. Since this is +meant for filtering tarballs storing a rootfs, notice that paths must be given +as /path and not as ./path even though they might be stored as such in the +tarball. Similarly, filter out unwanted pax extended headers. This is useful in cases where a tool only accepts certain xattr prefixes. For example tar2sqfs only