]> git.ipfire.org Git - thirdparty/elfutils.git/commit
PR27413: use bsdtar to unpack deb-related formats
authorFrank Ch. Eigler <fche@redhat.com>
Sun, 14 Feb 2021 21:02:05 +0000 (16:02 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 17 Feb 2021 11:27:51 +0000 (06:27 -0500)
commitf146d5ec8e2eee566df6eb4c939cf29d779fc08c
tree01fce5027d34923d0890665a2ea7291cee70f794
parent7a5ea4591df5246124ac870c865939ea8f36ac4d
PR27413: use bsdtar to unpack deb-related formats

dpkg-deb has been reported to be fragile when running under
debuginfod, whereas bsdtar (libarchive) is happy with all these
flavors of files.  Switch to a bsdtar based pipeline, now
equipped with an escaped glob pattern that adapts to a variety
of interior data.tar* compression formats.

No testsuite impact.  .ipk format tested with some random openwrt and
kino-extension binaries found on the net.  Some of these are built
with out buildid, and hardly any with debuginfo, but whatever, bsdtar
and elfutils extract whatever info is there.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx