From 21cfb8ba3632c317fcbc0df075a67b6170383d33 Mon Sep 17 00:00:00 2001 From: Xin Ouyang Date: Mon, 28 Jan 2013 11:24:06 +0800 Subject: rpm: inherit with-selinux We should also enable selinux only for target rpm, so inherit with-selinux. Signed-off-by: Xin Ouyang --- recipes-devtools/rpm/rpm_5.4.9.bbappend | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-devtools/rpm/rpm_5.4.9.bbappend b/recipes-devtools/rpm/rpm_5.4.9.bbappend index 2959fe8..f2a82e1 100644 --- a/recipes-devtools/rpm/rpm_5.4.9.bbappend +++ b/recipes-devtools/rpm/rpm_5.4.9.bbappend @@ -1,4 +1,4 @@ -PR .= ".2" +PR .= ".3" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" @@ -9,6 +9,5 @@ FILES_${PN} += "${libdir}/rpm/bin/spooktool \ ${libdir}/rpm/bin/semodule \ " -# Fix incorrect dependency in upstream version +inherit with-selinux PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage," -PACKAGECONFIG_append = " ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" -- cgit v1.2.3-54-g00ecf