libarchive: disable redundant libxml2 PACKAGECONFIG

An XML parser (either libxml2, or expat) is only needed by libarchive to
read/write XAR archives.  However, these also need OpenSSL enabled which
by default it is not, so XAR files were disabled and libxml2 was a build
dependency for no reason.

As XAR archives are mainly used on macOS, we can remove libxml2.

(From OE-Core rev: 363f1ee30b0e6d222943aaed8dce37a4a441a86d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2021-05-12 16:53:16 +01:00
committed by Richard Purdie
parent 1e122267fd
commit 0fc0804e4b

View File

@@ -10,7 +10,6 @@ DEPENDS = "e2fsprogs-native"
PACKAGECONFIG ?= "zlib bz2 xz lzo"
PACKAGECONFIG_append_class-target = "\
libxml2 \
${@bb.utils.filter('DISTRO_FEATURES', 'acl xattr', d)} \
"