diff options
author | Lans Zhang <jia.zhang@windriver.com> | 2017-07-27 16:19:40 +0800 |
---|---|---|
committer | Lans Zhang <jia.zhang@windriver.com> | 2017-07-27 16:19:40 +0800 |
commit | afdac6c3caaf36207248e3cbb06c1c9317481b92 (patch) | |
tree | 215fcd5626ab70f5653d7d15ac2ec1a4cb74ac50 | |
parent | 71fc35c50679f9bc08339702582e77a04642950d (diff) | |
download | meta-secure-core-afdac6c3caaf36207248e3cbb06c1c9317481b92.tar.gz |
grub/boot-menu.inc: use linux and initrd commands instead of chainloader to boot kernel
Since bzImage is not signed during the build.
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
-rw-r--r-- | meta-efi-secure-boot/recipes-bsp/grub/grub-efi/boot-menu.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/boot-menu.inc b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/boot-menu.inc index 9cc8726..ac5d615 100644 --- a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/boot-menu.inc +++ b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/boot-menu.inc | |||
@@ -5,9 +5,11 @@ | |||
5 | menuentry "Sample EFI boot" --unrestricted { | 5 | menuentry "Sample EFI boot" --unrestricted { |
6 | savedefault | 6 | savedefault |
7 | set fallback=1 | 7 | set fallback=1 |
8 | chainloader /bzImage root=/dev/sda2 ro rootwait initrd=/initrd | 8 | linux /bzImage root=/dev/sda2 ro rootwait |
9 | initrd /initrd | ||
9 | } | 10 | } |
10 | 11 | ||
11 | menuentry "Sample EFI boot (Recovery)" --unrestricted { | 12 | menuentry "Sample EFI boot (Recovery)" --unrestricted { |
12 | chainloader /bzImage_bakup root=/dev/sda2 ro rootwait initrd=/initrd_bakup | 13 | linux /bzImage_bakup root=/dev/sda2 ro rootwait |
14 | initrd /initrd_bakup | ||
13 | } | 15 | } |