]> code.ossystems Code Review - openembedded-core.git/commit
dpkg: Fix for Fedora22 and new versions of tar
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Jul 2015 11:04:52 +0000 (12:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jul 2015 11:23:08 +0000 (12:23 +0100)
commit1c916ddebc3009d3817359144b02745c3ecbd5c4
treeb844906e5027497266d2d8f5b716f06c95e73f07
parent7b151426fb8a69cfdd25b7f1de2b506cbcffcac6
dpkg: Fix for Fedora22 and new versions of tar

They managed to 'break' tar. Again. Sorry, they fixed a regression
which broke dpkg-deb.

The addition of:
http://git.savannah.gnu.org/cgit/tar.git/commit/?id=163e96a0e619a900eab6de827c7c5749ecc9d3f2
("Bugfix: entries read from the -T file did not get proper matching_flag.")
means that the no-recursion option gets lost. This leads to many files getting included
multiple times, along with files which shouldn't be there.

The commit message is horrendous. The patch actually makes the option positional
(as documnted since 2003) and therefore doesn't affect the input from the -T option.

Moving the --no-reursion option to earlier in the command avoids the bug.

The bug was not present in tar 1.28 however it has been backported in at least
Fedora 22 and heading into Fedora 21.

Redhat reports of issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1230762 [tar]
https://bugzilla.redhat.com/show_bug.cgi?id=1241508 [dpkg]

Discussion of bug in upstream tar:
http://www.mail-archive.com/bug-tar@gnu.org/msg04799.html

[YOCTO #7988]

(From OE-Core rev: 6be698b7270f73f40d38713ecf13f12aec0ced61)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/dpkg/dpkg/tarfix.patch [new file with mode: 0644]
meta/recipes-devtools/dpkg/dpkg_1.17.21.bb