diff --git a/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend b/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend index 1a81aa1963bf06153b3d310a7a56cba5e6f4cf97..d9811a91930ec9bf6fa07547d2c136455d5eeeca 100644 --- a/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend +++ b/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend @@ -10,3 +10,7 @@ # globally in OPTIMIZE_FOR=security mode. TARGET_CFLAGS:remove = "-Werror=array-bounds" + +# Make sure that GRUB can load squashfs, so that it can mount the system image +# and load the kernel, or other modules, from there directly. +GRUB_BUILDIN:append = " squash4" diff --git a/meta-oniro-core/recipes-bsp/grub/grub_%.bbappend b/meta-oniro-core/recipes-bsp/grub/grub_%.bbappend index 1a81aa1963bf06153b3d310a7a56cba5e6f4cf97..d9811a91930ec9bf6fa07547d2c136455d5eeeca 100644 --- a/meta-oniro-core/recipes-bsp/grub/grub_%.bbappend +++ b/meta-oniro-core/recipes-bsp/grub/grub_%.bbappend @@ -10,3 +10,7 @@ # globally in OPTIMIZE_FOR=security mode. TARGET_CFLAGS:remove = "-Werror=array-bounds" + +# Make sure that GRUB can load squashfs, so that it can mount the system image +# and load the kernel, or other modules, from there directly. +GRUB_BUILDIN:append = " squash4"