diff --git a/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend b/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend index d9811a91930ec9bf6fa07547d2c136455d5eeeca..c6df2a2093f8965daa4e9cf99219b8140b027dab 100644 --- a/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend +++ b/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend @@ -12,5 +12,7 @@ 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" +# and load the kernel, or other modules, from there directly. In addition add +# echo and halt modules, so that the GRUB boot script can print diagnostic +# messages or shut down on error. +GRUB_BUILDIN:append = " squash4 halt echo" diff --git a/meta-oniro-core/recipes-bsp/grub/grub_%.bbappend b/meta-oniro-core/recipes-bsp/grub/grub_%.bbappend index d9811a91930ec9bf6fa07547d2c136455d5eeeca..c6df2a2093f8965daa4e9cf99219b8140b027dab 100644 --- a/meta-oniro-core/recipes-bsp/grub/grub_%.bbappend +++ b/meta-oniro-core/recipes-bsp/grub/grub_%.bbappend @@ -12,5 +12,7 @@ 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" +# and load the kernel, or other modules, from there directly. In addition add +# echo and halt modules, so that the GRUB boot script can print diagnostic +# messages or shut down on error. +GRUB_BUILDIN:append = " squash4 halt echo"