mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
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>
This commit is contained in:
parent
332be21065
commit
21cfb8ba36
|
|
@ -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)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user