summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2019-04-04 08:14:15 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-04-07 23:09:58 -0400
commit261cdbefcbaa56d27fcf53f2bd140a8f0d63c6f3 (patch)
treea74476d8addaf724a92ecfe78149418c4b4e0f19 /recipes-extended
parent24218342dc5d4b80e406ccf3d31cc7959217f3bd (diff)
downloadmeta-virtualization-261cdbefcbaa56d27fcf53f2bd140a8f0d63c6f3.tar.gz
container-base: Allow building with a specific kernel binding
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> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/images/container-base.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-extended/images/container-base.bb b/recipes-extended/images/container-base.bb
index 3e636cad..434239a8 100644
--- a/recipes-extended/images/container-base.bb
+++ b/recipes-extended/images/container-base.bb
@@ -20,6 +20,9 @@ IMAGE_INSTALL = " \
20 netbase \ 20 netbase \
21" 21"
22 22
23# Allow build with or without a specific kernel
24IMAGE_CONTAINER_NO_DUMMY = "1"
25
23# Workaround /var/volatile for now 26# Workaround /var/volatile for now
24ROOTFS_POSTPROCESS_COMMAND += "rootfs_fixup_var_volatile ; " 27ROOTFS_POSTPROCESS_COMMAND += "rootfs_fixup_var_volatile ; "
25rootfs_fixup_var_volatile () { 28rootfs_fixup_var_volatile () {