All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] container-base: Allow building with a specific kernel binding
@ 2019-04-04 15:14 Jason Wessel
  2019-04-08  3:10 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Wessel @ 2019-04-04 15:14 UTC (permalink / raw)
  To: meta-virtualization

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:

   oe-core/meta/classes/image-container.bbclass

Signed-off-by: Jason Wessel <jason.wessel@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] container-base: Allow building with a specific kernel binding
  2019-04-04 15:14 [PATCH] container-base: Allow building with a specific kernel binding Jason Wessel
@ 2019-04-08  3:10 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-04-08  3:10 UTC (permalink / raw)
  To: Jason Wessel; +Cc: meta-virtualization

On Thu, Apr 4, 2019 at 11:14 AM Jason Wessel <jason.wessel@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@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@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-08  3:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04 15:14 [PATCH] container-base: Allow building with a specific kernel binding Jason Wessel
2019-04-08  3:10 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.