mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
lxc: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for 'selinux', otherwise there would be warnings like below: WARN: lxc: lxc rdepends on libselinux, but it isn't a build dependency? Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
48c1f0666b
commit
c0423005b3
|
@ -40,11 +40,14 @@ S = "${WORKDIR}/${BPN}-${PV}"
|
|||
PTEST_CONF = "${@base_contains('DISTRO_FEATURES', 'ptest', '--enable-tests', '', d)}"
|
||||
EXTRA_OECONF += "--with-distro=${DISTRO} ${PTEST_CONF}"
|
||||
|
||||
PACKAGECONFIG ??= "templates"
|
||||
PACKAGECONFIG ??= "templates \
|
||||
${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG[doc] = "--enable-doc --enable-api-docs,--disable-doc --disable-api-docs,,"
|
||||
PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath,,"
|
||||
PACKAGECONFIG[apparmour] = "--enable-apparmor,--disable-apparmor,apparmor,apparmor"
|
||||
PACKAGECONFIG[templates] = ",,, ${PN}-templates"
|
||||
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
|
||||
|
||||
inherit autotools pkgconfig ptest
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user