summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPiotr Łobacz <p.lobacz@welotec.com>2023-04-03 13:06:10 +0200
committerSteve Sakoman <steve@sakoman.com>2023-05-12 04:04:52 -1000
commit77feabea2494811aeddf91316f7e8172e47f3397 (patch)
treed968ede1b99f977c1fb0074163a5a4576b3a87aa /meta
parent5f19045917c32f180ae36d438eb7b229a5e57c3c (diff)
downloadpoky-77feabea2494811aeddf91316f7e8172e47f3397.tar.gz
libarchive: Enable acls, xattr for native as well as target
Libarchive is being used by OPKG package manager as default API for extracting tar files. This fix allows us to extract ipks packages with preserved ACLs and xattrs. Partially addresses [YOCTO #15091] [RP: Merge into main PACKAGECONFIG and tweak commit message] (From OE-Core rev: b1f80f0a2bf30698192c7a214c5802b76464d095) Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 913aad1ac013368aef8f6af332588ef24bba46bd) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/libarchive/libarchive_3.6.2.bb6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.6.2.bb b/meta/recipes-extended/libarchive/libarchive_3.6.2.bb
index acc84de9da..ffcc103112 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.6.2.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.6.2.bb
@@ -7,11 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d499814247adaee08d88080841cb5665"
7 7
8DEPENDS = "e2fsprogs-native" 8DEPENDS = "e2fsprogs-native"
9 9
10PACKAGECONFIG ?= "zlib bz2 xz lzo zstd" 10PACKAGECONFIG ?= "zlib bz2 xz lzo zstd ${@bb.utils.filter('DISTRO_FEATURES', 'acl xattr', d)}"
11
12PACKAGECONFIG:append:class-target = "\
13 ${@bb.utils.filter('DISTRO_FEATURES', 'acl xattr', d)} \
14"
15 11
16DEPENDS_BZIP2 = "bzip2-replacement-native" 12DEPENDS_BZIP2 = "bzip2-replacement-native"
17DEPENDS_BZIP2:class-target = "bzip2" 13DEPENDS_BZIP2:class-target = "bzip2"