fs/tar: make --no-recursion effective
authorBaruch Siach <baruch@tkos.co.il>
Tue, 27 Dec 2016 17:42:03 +0000 (19:42 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 28 Dec 2016 09:13:21 +0000 (10:13 +0100)
commitd91ce1aa08016fa3fb186be9e6ef425dad6f050f
treee41cd6812b1f9e3cd9a2814243dbc420ada57eaa
parent0e3526c10e80822b0a25b7171ced77c9cc1d9121
fs/tar: make --no-recursion effective

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@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
fs/tar/tar.mk