diff options
-rw-r--r-- | meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc index 2e97de1..5cdaa1c 100644 --- a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc +++ b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc | |||
@@ -81,17 +81,13 @@ python __anonymous () { | |||
81 | do_compile_append() { | 81 | do_compile_append() { |
82 | if [ "${GRUB_SIGN_VERIFY}" = "1" -a "${GRUB_SIGN_VERIFY_STRICT}" = "1" ] ; then | 82 | if [ "${GRUB_SIGN_VERIFY}" = "1" -a "${GRUB_SIGN_VERIFY_STRICT}" = "1" ] ; then |
83 | cat<<EOF>${WORKDIR}/cfg | 83 | cat<<EOF>${WORKDIR}/cfg |
84 | insmod verify | ||
85 | set strict_security=1 | 84 | set strict_security=1 |
86 | search.file (\$cmdpath)${GRUB_PREFIX_DIR}/grub.cfg root | ||
87 | set prefix=(\$root)${GRUB_PREFIX_DIR} | ||
88 | EOF | 85 | EOF |
89 | else | 86 | fi |
90 | cat<<EOF>${WORKDIR}/cfg | 87 | cat<<EOF>>${WORKDIR}/cfg |
91 | search.file (\$cmdpath)${GRUB_PREFIX_DIR}/grub.cfg root | 88 | search.file (\$cmdpath)${GRUB_PREFIX_DIR}/grub.cfg root |
92 | set prefix=(\$root)${GRUB_PREFIX_DIR} | 89 | set prefix=(\$root)${GRUB_PREFIX_DIR} |
93 | EOF | 90 | EOF |
94 | fi | ||
95 | } | 91 | } |
96 | 92 | ||
97 | do_compile_append_class-native() { | 93 | do_compile_append_class-native() { |