mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-16 12:47:00 +00:00
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>
This commit is contained in:
committed by
Jia Zhang
parent
8a518a2054
commit
44a12b93b1
@@ -35,7 +35,7 @@ SRC_URI += "\
|
||||
# functions efi_call_foo and efi_shim_exit are not implemented for arm64 yet
|
||||
COMPATIBLE_HOST_aarch64 = 'null'
|
||||
|
||||
EFI_BOOT_PATH = "/boot/efi/EFI/BOOT"
|
||||
EFI_BOOT_PATH ?= "/boot/efi/EFI/BOOT"
|
||||
|
||||
GRUB_SECURE_BOOT_MODULES += "${@'efivar password_pbkdf2 ' if d.getVar('UEFI_SB', True) == '1' else ''}"
|
||||
|
||||
@@ -186,7 +186,7 @@ do_deploy_class-target() {
|
||||
cp -af "${D}${EFI_BOOT_PATH}/${GRUB_TARGET}-efi" "${DEPLOYDIR}/efi-unsigned"
|
||||
}
|
||||
|
||||
FILES_${PN} += "/boot/efi"
|
||||
FILES_${PN} += "${EFI_BOOT_PATH}"
|
||||
|
||||
CONFFILES_${PN} += "\
|
||||
${EFI_BOOT_PATH}/grub.cfg \
|
||||
|
||||
Reference in New Issue
Block a user