[Buildroot] [PATCH] fs/tar: make --no-recursion effective
Peter Korsgaard
peter at korsgaard.com
Wed Dec 28 09:21:26 UTC 2016
>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:
> The tar --no-recursion option is position sensitive. It only affects following
> file listing options. Move --no-recursion before the -T option to make it
> effective. This fixes duplication of entries in the generated rootfs.tar
> archive.
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
I got a bit confused by this, as the manual explicitly shows the -T -
--no-recursion sequence:
https://www.gnu.org/software/tar/manual/html_section/tar_54.html
But indeed, tar -tvf output/images/rootfs.tar | grep '/usr/$' had 2 hits
before, and not after applying this patch - So committed, thanks!
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list