From: Denys Dmytriyenko Date: Thu, 8 Feb 2024 02:16:45 +0000 (-0500) Subject: rpm: carry local PACKAGECONFIG fix for selinux X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=38b8eacbdf1a10f2d3962381936eafb80827f701;p=AGL%2Fmeta-agl.git rpm: carry local PACKAGECONFIG fix for selinux Can be dropped once the fix is accepted upstream: https://patchwork.yoctoproject.org/project/yocto/patch/20240207210405.500713-1-denis@denix.org/ Change-Id: Ia18011145d4fec2c3e3ac59349f60b139068ce63 Signed-off-by: Denys Dmytriyenko --- diff --git a/meta-agl-core/recipes-devtools/rpm/rpm_4.19%.bbappend b/meta-agl-core/recipes-devtools/rpm/rpm_4.19%.bbappend new file mode 100644 index 000000000..980783236 --- /dev/null +++ b/meta-agl-core/recipes-devtools/rpm/rpm_4.19%.bbappend @@ -0,0 +1 @@ +require ${@bb.utils.contains('AGL_FEATURES', 'aglcore', '${BPN}_aglcore.inc', '', d)} diff --git a/meta-agl-core/recipes-devtools/rpm/rpm_aglcore.inc b/meta-agl-core/recipes-devtools/rpm/rpm_aglcore.inc new file mode 100644 index 000000000..4997db9d0 --- /dev/null +++ b/meta-agl-core/recipes-devtools/rpm/rpm_aglcore.inc @@ -0,0 +1,3 @@ +# new rpm 4.19 in OE-Core/Poky uses CMake instead of autoconf, update +# selinux PACKAGECONFIG until meta-selinux catches up +PACKAGECONFIG[selinux] = "-DWITH_SELINUX=ON,-DWITH_SELINUX=OFF,libselinux"