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

Jason Wessel jason.wessel at windriver.com
Thu Apr 4 08:14:15 PDT 2019


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 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



More information about the meta-virtualization mailing list