diff options
| author | Wenzong Fan <wenzong.fan@windriver.com> | 2014-12-03 02:41:10 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-12-03 10:19:56 -0500 |
| commit | c0423005b36d80bd35bd329b5460b4ac78365fd2 (patch) | |
| tree | 09196ca170e30d9cb6e7a15b1c669ecd67f7a32d | |
| parent | 48c1f0666b2f523845c10ae352d58a77e3cc474f (diff) | |
| download | meta-virtualization-c0423005b36d80bd35bd329b5460b4ac78365fd2.tar.gz | |
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>
| -rw-r--r-- | recipes-containers/lxc/lxc_1.0.6.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-containers/lxc/lxc_1.0.6.bb b/recipes-containers/lxc/lxc_1.0.6.bb index 08055732..e6ec68db 100644 --- a/recipes-containers/lxc/lxc_1.0.6.bb +++ b/recipes-containers/lxc/lxc_1.0.6.bb | |||
| @@ -40,11 +40,14 @@ S = "${WORKDIR}/${BPN}-${PV}" | |||
| 40 | PTEST_CONF = "${@base_contains('DISTRO_FEATURES', 'ptest', '--enable-tests', '', d)}" | 40 | PTEST_CONF = "${@base_contains('DISTRO_FEATURES', 'ptest', '--enable-tests', '', d)}" |
| 41 | EXTRA_OECONF += "--with-distro=${DISTRO} ${PTEST_CONF}" | 41 | EXTRA_OECONF += "--with-distro=${DISTRO} ${PTEST_CONF}" |
| 42 | 42 | ||
| 43 | PACKAGECONFIG ??= "templates" | 43 | PACKAGECONFIG ??= "templates \ |
| 44 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | ||
| 45 | " | ||
| 44 | PACKAGECONFIG[doc] = "--enable-doc --enable-api-docs,--disable-doc --disable-api-docs,," | 46 | PACKAGECONFIG[doc] = "--enable-doc --enable-api-docs,--disable-doc --disable-api-docs,," |
| 45 | PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath,," | 47 | PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath,," |
| 46 | PACKAGECONFIG[apparmour] = "--enable-apparmor,--disable-apparmor,apparmor,apparmor" | 48 | PACKAGECONFIG[apparmour] = "--enable-apparmor,--disable-apparmor,apparmor,apparmor" |
| 47 | PACKAGECONFIG[templates] = ",,, ${PN}-templates" | 49 | PACKAGECONFIG[templates] = ",,, ${PN}-templates" |
| 50 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" | ||
| 48 | 51 | ||
| 49 | inherit autotools pkgconfig ptest | 52 | inherit autotools pkgconfig ptest |
| 50 | 53 | ||
