From 67afb953ab252b901d22f7b06b34a01e2898bd81 Mon Sep 17 00:00:00 2001 From: quic-roshs Date: Mon, 26 Aug 2024 14:41:59 +0530 Subject: [PATCH] ostree: Remove soup from PACKAGECONFIG only if ptest is not enabled ostree-ptest has a dependency on ostree-trivial-httpd which gets compiled only if soup is enabled. Signed-off-by: Roshan Sivakumar --- recipes-extended/ostree/ostree_%.bbappend | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-extended/ostree/ostree_%.bbappend b/recipes-extended/ostree/ostree_%.bbappend index c3d502f..944faf2 100644 --- a/recipes-extended/ostree/ostree_%.bbappend +++ b/recipes-extended/ostree/ostree_%.bbappend @@ -7,4 +7,5 @@ SRC_URI += " \ PACKAGECONFIG:append = " curl libarchive static builtin-grub2-mkconfig" PACKAGECONFIG:class-native:append = " curl" # gpgme is not required by us, and it brings GPLv3 dependencies -PACKAGECONFIG:remove = "soup gpgme" +PACKAGECONFIG:remove = "gpgme" +PACKAGECONFIG:remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '', 'soup', d)}"