aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/libarchive
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/libarchive')
-rw-r--r--recipes-extended/libarchive/libarchive_%.bbappend10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-extended/libarchive/libarchive_%.bbappend b/recipes-extended/libarchive/libarchive_%.bbappend
new file mode 100644
index 0000000..0b51a6d
--- /dev/null
+++ b/recipes-extended/libarchive/libarchive_%.bbappend
@@ -0,0 +1,10 @@
+# swupd-server and swupd-client requires the xz compression type
+# to be supported in bsdtar.
+PACKAGECONFIG_append = " xz"
+
+# Since the format of the archives generated by swupd-server and
+# the ones consumed by swupd-client must be identical
+# configure the native tool the same way as it's done for target.
+PACKAGECONFIG_append_class-native = "\
+ ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \
+"