[meta-virtualization] [PATCH] lxc: add PACKAGECONFIG for selinux

Bruce Ashfield bruce.ashfield at gmail.com
Wed Dec 3 07:21:51 PST 2014


On Wed, Dec 3, 2014 at 2:41 AM,  <wenzong.fan at windriver.com> wrote:
> From: Wenzong Fan <wenzong.fan at windriver.com>
>
> Add PACKAGECONFIG for 'selinux', otherwise there would be warnings like
> below:
>
> WARN: lxc: lxc rdepends on libselinux, but it isn't a build dependency?

merged.

Bruce

>
> Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
> ---
>  recipes-containers/lxc/lxc_1.0.6.bb |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-containers/lxc/lxc_1.0.6.bb b/recipes-containers/lxc/lxc_1.0.6.bb
> index 0805573..e6ec68d 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}"
>  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
>
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list