diff options
Diffstat (limited to 'meta-efi-secure-boot/recipes-bsp/grub')
-rw-r--r-- | meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc | 5 |
1 files changed, 3 insertions, 2 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 a122fdc..7d9745d 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 | |||
@@ -48,7 +48,8 @@ GRUB_SIGNING_MODULES += "${@'pgp gcry_rsa gcry_sha256 gcry_sha512 --pubkey %s ' | |||
48 | 48 | ||
49 | GRUB_SELOADER_MODULES += "${@'mok2verify ' if d.getVar('UEFI_SELOADER', True) == '1' else ''}" | 49 | GRUB_SELOADER_MODULES += "${@'mok2verify ' if d.getVar('UEFI_SELOADER', True) == '1' else ''}" |
50 | 50 | ||
51 | GRUB_BUILDIN:append:class-target = " \ | 51 | GRUB_SECURE_BUILDIN ??= "" |
52 | GRUB_SECURE_BUILDIN:append:class-target = " \ | ||
52 | tftp reboot chain \ | 53 | tftp reboot chain \ |
53 | ${GRUB_SECURE_BOOT_MODULES} \ | 54 | ${GRUB_SECURE_BOOT_MODULES} \ |
54 | ${GRUB_SIGNING_MODULES} \ | 55 | ${GRUB_SIGNING_MODULES} \ |
@@ -134,7 +135,7 @@ do_install:append:class-target() { | |||
134 | install -d "${D}${EFI_BOOT_PATH}/${GRUB_TARGET}-efi" | 135 | install -d "${D}${EFI_BOOT_PATH}/${GRUB_TARGET}-efi" |
135 | grub-mkimage -c ../cfg -p "${GRUB_PREFIX_DIR}" -d "./grub-core" \ | 136 | grub-mkimage -c ../cfg -p "${GRUB_PREFIX_DIR}" -d "./grub-core" \ |
136 | -O "${GRUB_TARGET}-efi" -o "${B}/${GRUB_IMAGE}" \ | 137 | -O "${GRUB_TARGET}-efi" -o "${B}/${GRUB_IMAGE}" \ |
137 | ${GRUB_BUILDIN} | 138 | ${GRUB_BUILDIN} ${GRUB_SECURE_BUILDIN} |
138 | 139 | ||
139 | install -m 0644 "${B}/${GRUB_IMAGE}" "${D}${EFI_BOOT_PATH}/${GRUB_IMAGE}" | 140 | install -m 0644 "${B}/${GRUB_IMAGE}" "${D}${EFI_BOOT_PATH}/${GRUB_IMAGE}" |
140 | 141 | ||