distro-netmodule: Always build with ostree initramfs
With our current design, the default kernel (virtual/kernel) is different than the initramfs kernels. But when building an initramfs image, it was still rebuild because the INITRAMFS_IMAGE variable was not defined. In order to avoid this rebuild we need to always enforce the use of the ostree initramfs image for the default kernel. This is not so clean since we add a permanent dependency to the ostree layer, but having a cleaner solution would require to completely rethink the way the kernel is handled in our yocto environment. BugzID: 71360
This commit is contained in:
parent
bdca9a94c6
commit
bbfaa89537
|
|
@ -101,3 +101,8 @@ KERNEL_MODULE_AUTOLOAD += "cryptodev"
|
|||
|
||||
EXTRA_IMAGECMD_append_ext4 = " -O ^64bit"
|
||||
EXTRA_IMAGECMD_append_ota-ext4 = " -O ^64bit"
|
||||
|
||||
# The default kernel is packed with ostree initramfs
|
||||
# This is required to avoid rebuilding the kernel when switching
|
||||
# between ostree and ramdisk images
|
||||
INITRAMFS_IMAGE ?= "initramfs-ostree-image"
|
||||
|
|
|
|||
Loading…
Reference in New Issue