summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2024-02-07 21:16:45 -0500
committerjenkins-dontreply@build.automotivelinux.org <collab-it+agl-jobbuilder@linuxfoundation.org>2024-03-07 12:55:01 +0000
commit38b8eacbdf1a10f2d3962381936eafb80827f701 (patch)
tree93f180f75bd06c729b18f72626d0db8ef6098594
parent22cba4d2830baf56401aadb64750400bfcfefe0b (diff)
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 <denys@konsulko.com>
-rw-r--r--meta-agl-core/recipes-devtools/rpm/rpm_4.19%.bbappend1
-rw-r--r--meta-agl-core/recipes-devtools/rpm/rpm_aglcore.inc3
2 files changed, 4 insertions, 0 deletions
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"