[meta-virtualization] [PATCH] meta-virtualization: add layer depends on selinux

Bruce Ashfield bruce.ashfield at gmail.com
Thu Jul 25 11:28:34 PDT 2019


On Wed, Jul 24, 2019 at 11:43 PM <mingli.yu at windriver.com> wrote:
>
> From: Mingli Yu <Mingli.Yu at windriver.com>
>
> Since cri-o of meta-virtualization depends on
> libselinux which comes from selinux, add missing
> layer depends back.

This is already covered in the README. Since cri-o is optional, I
didn't want it to be a hard depends.

Required for cri-o:
URI: git://github.com/advancedtelematic/meta-updater
URI: git://git.yoctoproject.org/meta-selinux
URI: git://git.yoctoproject.org/meta-security
branch: master
revision: HEAD
prio: default


I haven't seen a way to do a conditional depends .. has anyone else ?

Bruce

>
> Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
> ---
>  conf/layer.conf | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/conf/layer.conf b/conf/layer.conf
> index be1f222..23efcb8 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -21,6 +21,7 @@ LAYERDEPENDS_virtualization-layer = " \
>      networking-layer \
>      filesystems-layer \
>      meta-python \
> +    selinux \
>  "
>
>  # webserver: naigos requires apache2
> --
> 2.7.4
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


More information about the meta-virtualization mailing list