diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2019-04-04 08:14:15 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-04-07 23:09:58 -0400 |
commit | 261cdbefcbaa56d27fcf53f2bd140a8f0d63c6f3 (patch) | |
tree | a74476d8addaf724a92ecfe78149418c4b4e0f19 | |
parent | 24218342dc5d4b80e406ccf3d31cc7959217f3bd (diff) | |
download | meta-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>
-rw-r--r-- | recipes-extended/images/container-base.bb | 3 |
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 | ||
24 | IMAGE_CONTAINER_NO_DUMMY = "1" | ||
25 | |||
23 | # Workaround /var/volatile for now | 26 | # Workaround /var/volatile for now |
24 | ROOTFS_POSTPROCESS_COMMAND += "rootfs_fixup_var_volatile ; " | 27 | ROOTFS_POSTPROCESS_COMMAND += "rootfs_fixup_var_volatile ; " |
25 | rootfs_fixup_var_volatile () { | 28 | rootfs_fixup_var_volatile () { |