diff options
-rw-r--r-- | meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc | 13 |
1 files changed, 13 insertions, 0 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 56ba863..f172e08 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 | |||
@@ -181,6 +181,19 @@ addtask chownboot after do_deploy before do_package | |||
181 | do_deploy_append_class-target() { | 181 | do_deploy_append_class-target() { |
182 | install -m 0644 "${D}${EFI_BOOT_PATH}/${GRUB_IMAGE}" "${DEPLOYDIR}" | 182 | install -m 0644 "${D}${EFI_BOOT_PATH}/${GRUB_IMAGE}" "${DEPLOYDIR}" |
183 | 183 | ||
184 | # Deploy the stacked grub configs. | ||
185 | install -m 0600 "${D}${EFI_BOOT_PATH}/grubenv" "${DEPLOYDIR}" | ||
186 | install -m 0600 "${D}${EFI_BOOT_PATH}/grub.cfg" "${DEPLOYDIR}" | ||
187 | install -m 0600 "${D}${EFI_BOOT_PATH}/boot-menu.inc" "${DEPLOYDIR}" | ||
188 | install -m 0600 "${D}${EFI_BOOT_PATH}/grub.cfg${SB_FILE_EXT}" "${DEPLOYDIR}" | ||
189 | install -m 0600 "${D}${EFI_BOOT_PATH}/boot-menu.inc${SB_FILE_EXT}" "${DEPLOYDIR}" | ||
190 | [ x"${UEFI_SB}" = x"1" ] && { | ||
191 | install -m 0600 "${D}${EFI_BOOT_PATH}/efi-secure-boot.inc" "${DEPLOYDIR}" | ||
192 | install -m 0600 "${D}${EFI_BOOT_PATH}/password.inc" "${DEPLOYDIR}" | ||
193 | install -m 0600 "${D}${EFI_BOOT_PATH}/efi-secure-boot.inc${SB_FILE_EXT}" "${DEPLOYDIR}" | ||
194 | install -m 0600 "${D}${EFI_BOOT_PATH}/password.inc${SB_FILE_EXT}" "${DEPLOYDIR}" | ||
195 | } | ||
196 | |||
184 | install -d "${DEPLOYDIR}/efi-unsigned" | 197 | install -d "${DEPLOYDIR}/efi-unsigned" |
185 | install -m 0644 "${B}/${GRUB_IMAGE}" "${DEPLOYDIR}/efi-unsigned" | 198 | install -m 0644 "${B}/${GRUB_IMAGE}" "${DEPLOYDIR}/efi-unsigned" |
186 | cp -af "${D}${EFI_BOOT_PATH}/${GRUB_TARGET}-efi" "${DEPLOYDIR}/efi-unsigned" | 199 | cp -af "${D}${EFI_BOOT_PATH}/${GRUB_TARGET}-efi" "${DEPLOYDIR}/efi-unsigned" |