summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Ouyang <Xin.Ouyang@windriver.com>2013-01-28 11:24:06 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2013-01-29 15:26:03 +0800
commit21cfb8ba3632c317fcbc0df075a67b6170383d33 (patch)
treeebe49170269a1254cfaabce8459b0d20d1edf10f
parent332be210657256a8c09c88069551c6729b8d6c1d (diff)
downloadmeta-selinux-21cfb8ba3632c317fcbc0df075a67b6170383d33.tar.gz
rpm: inherit with-selinux
We should also enable selinux only for target rpm, so inherit with-selinux. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r--recipes-devtools/rpm/rpm_5.4.9.bbappend5
1 files 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 @@
1PR .= ".2" 1PR .= ".3"
2 2
3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
4 4
@@ -9,6 +9,5 @@ FILES_${PN} += "${libdir}/rpm/bin/spooktool \
9 ${libdir}/rpm/bin/semodule \ 9 ${libdir}/rpm/bin/semodule \
10 " 10 "
11 11
12# Fix incorrect dependency in upstream version 12inherit with-selinux
13PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage," 13PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
14PACKAGECONFIG_append = " ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"