summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandra Tobajas <sandra.tobajas@gmail.com>2020-01-14 13:11:02 -0500
committerJia Zhang <zhang.jia@linux.alibaba.com>2020-01-16 08:35:40 +0800
commit44a12b93b152d76900413bb919113e1cd408e265 (patch)
tree8aaaaf58bb3f59d22235f19bfc70ebafe2a5bf23
parent8a518a2054bdd349d7661ee4872590fc8750313f (diff)
downloadmeta-secure-core-44a12b93b152d76900413bb919113e1cd408e265.tar.gz
grub-efi-efi-secure-boot.inc: let EFI_BOOT_PATH be overrided
Let the EFI_BOOT_PATH Bitbake variable be overrided if needed. Signed-off-by: Sandra Tobajas <sandra.tobajas@savoirfairelinux.com>
-rw-r--r--meta-efi-secure-boot/recipes-bsp/grub/grub-efi-efi-secure-boot.inc4
1 files changed, 2 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 b2bfdaa..4e107ff 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
@@ -35,7 +35,7 @@ SRC_URI += "\
35# functions efi_call_foo and efi_shim_exit are not implemented for arm64 yet 35# functions efi_call_foo and efi_shim_exit are not implemented for arm64 yet
36COMPATIBLE_HOST_aarch64 = 'null' 36COMPATIBLE_HOST_aarch64 = 'null'
37 37
38EFI_BOOT_PATH = "/boot/efi/EFI/BOOT" 38EFI_BOOT_PATH ?= "/boot/efi/EFI/BOOT"
39 39
40GRUB_SECURE_BOOT_MODULES += "${@'efivar password_pbkdf2 ' if d.getVar('UEFI_SB', True) == '1' else ''}" 40GRUB_SECURE_BOOT_MODULES += "${@'efivar password_pbkdf2 ' if d.getVar('UEFI_SB', True) == '1' else ''}"
41 41
@@ -186,7 +186,7 @@ do_deploy_class-target() {
186 cp -af "${D}${EFI_BOOT_PATH}/${GRUB_TARGET}-efi" "${DEPLOYDIR}/efi-unsigned" 186 cp -af "${D}${EFI_BOOT_PATH}/${GRUB_TARGET}-efi" "${DEPLOYDIR}/efi-unsigned"
187} 187}
188 188
189FILES_${PN} += "/boot/efi" 189FILES_${PN} += "${EFI_BOOT_PATH}"
190 190
191CONFFILES_${PN} += "\ 191CONFFILES_${PN} += "\
192 ${EFI_BOOT_PATH}/grub.cfg \ 192 ${EFI_BOOT_PATH}/grub.cfg \