container-base: Allow building with a specific kernel binding
PATCH 1/1 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
--- recipes-extended/images/container-base.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-extended/images/container-base.bb +3 -0
@@ -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 () {
Signature · 1 line
2.18.1
Quoted 5 lines · Jason Wessel
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
Quoted 30 lines
oe-core/meta/classes/image-container.bbclass
Signed-off-by Jason Wessel <[email protected]>--- recipes-extended/images/container-base.bb | 3 +++ 1 file changed, 3 insertions(+)recipes-extended/images/container-base.bb +3
-1@@ -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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II