diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2013-01-28 11:24:06 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2013-01-29 15:26:03 +0800 |
commit | 21cfb8ba3632c317fcbc0df075a67b6170383d33 (patch) | |
tree | ebe49170269a1254cfaabce8459b0d20d1edf10f | |
parent | 332be210657256a8c09c88069551c6729b8d6c1d (diff) | |
download | meta-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.bbappend | 5 |
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 @@ | |||
1 | PR .= ".2" | 1 | PR .= ".3" |
2 | 2 | ||
3 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 3 | FILESEXTRAPATHS_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 | 12 | inherit with-selinux |
13 | PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage," | 13 | PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage," |
14 | PACKAGECONFIG_append = " ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" | ||