diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2016-12-01 10:40:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-07 10:36:12 +0000 |
commit | 53126f0fbc63148cc5b22605ffbdf54d0610b545 (patch) | |
tree | 389160e5045358c5bf7a2034e691825a021d376a /meta/recipes-extended/libarchive/libarchive_3.2.2.bb | |
parent | 0677c5b210ea563d6209f86c01f868111895f332 (diff) | |
download | openembedded-core-contrib-53126f0fbc63148cc5b22605ffbdf54d0610b545.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended/libarchive/libarchive_3.2.2.bb')
-rw-r--r-- | meta/recipes-extended/libarchive/libarchive_3.2.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.2.2.bb b/meta/recipes-extended/libarchive/libarchive_3.2.2.bb index cf66e9d8e8..64e8983585 100644 --- a/meta/recipes-extended/libarchive/libarchive_3.2.2.bb +++ b/meta/recipes-extended/libarchive/libarchive_3.2.2.bb @@ -32,6 +32,7 @@ PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle," PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4," SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \ + file://non-recursive-extract-and-list.patch \ " SRC_URI[md5sum] = "1ec00b7dcaf969dd2a5712f85f23c764" |