From b10153c925d2f67b7dbd86ec989a24a35bc7576b Mon Sep 17 00:00:00 2001 From: Roshan Sivakumar Date: Wed, 28 Aug 2024 06:33:57 +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)}"