From: Jason Wessel <jason.wessel@windriver.com>
To: <meta-virtualization@yoctoproject.org>
Subject: [PATCH] container-base: Allow building with a specific kernel binding
Date: Thu, 4 Apr 2019 08:14:15 -0700 [thread overview]
Message-ID: <20190404151415.73617-1-jason.wessel@windriver.com> (raw)
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
next reply other threads:[~2019-04-04 15:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-04 15:14 Jason Wessel [this message]
2019-04-08 3:10 ` [PATCH] container-base: Allow building with a specific kernel binding Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190404151415.73617-1-jason.wessel@windriver.com \
--to=jason.wessel@windriver.com \
--cc=meta-virtualization@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.