From 1748c77e9ca20a0bfa87579ffa24fc399aac0c66 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Tue, 15 Sep 2026 10:25:24 +0800 Subject: [PATCH] ostree: remove untested PACKAGECONFIG settings These two settings, class-native and class-nativesdk, were obviously not tested. This is because for native and nativesdk, if users don't do special settings, 'smack' and 'selinux' will never appear in the DISTRO_FEATURES. In addition, there's even no nativesdk class extension for libselinux. Most likely, these two settings were just copied from above and were left there ever since. Note that if we enable 'selinux' for ostree-native, the following error will appear at rootfs: | bwrap: Creating new namespace failed: Operation not permitted | error: Deploying tree: Finalizing deployment: Finalizing SELinux policy: failed to run semodule: Child process exited with code 1 Signed-off-by: Chen Qi Signed-off-by: Khem Raj --- meta-oe/recipes-extended/ostree/ostree_2026.4.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta-oe/recipes-extended/ostree/ostree_2026.4.bb b/meta-oe/recipes-extended/ostree/ostree_2026.4.bb index b48fbb0a62..05a514c262 100644 --- a/meta-oe/recipes-extended/ostree/ostree_2026.4.bb +++ b/meta-oe/recipes-extended/ostree/ostree_2026.4.bb @@ -52,14 +52,12 @@ PACKAGECONFIG ??= " \ # We include curl because ostree can't (currently) be built without # soup or curl - https://github.com/ostreedev/ostree/issues/1897 PACKAGECONFIG:class-native ??= " \ - ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ builtin-grub2-mkconfig \ gpgme \ curl \ " PACKAGECONFIG:class-nativesdk ??= " \ - ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ builtin-grub2-mkconfig \ gpgme \ curl \