[meta-virtualization] [PATCH] container-base: Allow building with a specific kernel binding

Bruce Ashfield bruce.ashfield at gmail.com
Sun Apr 7 20:10:38 PDT 2019


On Thu, Apr 4, 2019 at 11:14 AM Jason Wessel <jason.wessel at windriver.com> wrote:
>
> The oe-core layer sets a variable which intends that linux-dummy is
> set for container building.  This commit would allow you to have a
> specific kernel and board setup as well as generate multiple
> containers by turrning off the linux-dummy check found in:

Makes sense to me as well.

Merged

Bruce

>
>    oe-core/meta/classes/image-container.bbclass
>
> Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
> ---
>  recipes-extended/images/container-base.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/recipes-extended/images/container-base.bb b/recipes-extended/images/container-base.bb
> index 3e636ca..434239a 100644
> --- a/recipes-extended/images/container-base.bb
> +++ b/recipes-extended/images/container-base.bb
> @@ -20,6 +20,9 @@ IMAGE_INSTALL = " \
>         netbase \
>  "
>
> +# Allow build with or without a specific kernel
> +IMAGE_CONTAINER_NO_DUMMY = "1"
> +
>  # Workaround /var/volatile for now
>  ROOTFS_POSTPROCESS_COMMAND += "rootfs_fixup_var_volatile ; "
>  rootfs_fixup_var_volatile () {
> --
> 2.18.1
>
> --
> _______________________________________________
> 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
- "Use the force Harry" - Gandalf, Star Trek II


More information about the meta-virtualization mailing list