]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libarchive: enable non-recursive extract/list
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 1 Dec 2016 09:40:46 +0000 (10:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Dec 2016 10:36:12 +0000 (10:36 +0000)
commit53126f0fbc63148cc5b22605ffbdf54d0610b545
tree389160e5045358c5bf7a2034e691825a021d376a
parent0677c5b210ea563d6209f86c01f868111895f332
libarchive: enable non-recursive extract/list

Required for meta-swupd performance enhancements: in meta-swupd, the
so called "mega" image contains a rootfs with all files that can
potentially be installed on a device. Other virtual image recipes need
a subset of those files or directories, and a partial extraction from
a single tar archive is faster than letting all virtual image recipes
share access to a directory under a single pseudo instance.

It may be necessary to extract a directory with all of its attributes
without the content of the directory, hence this patch. Upstream
agreed to consider merging such a patch (see
https://groups.google.com/forum/#!topic/libarchive-discuss/JO3hqSaAVfs)
but has been slow in actually commenting on it, so for now it has
to be carried as distro patch.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/libarchive/files/non-recursive-extract-and-list.patch [new file with mode: 0644]
meta/recipes-extended/libarchive/libarchive_3.2.2.bb