From 8f6a3538cc3b7fb58c83333a9f14607ef785c357 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 15 Dec 2023 22:51:27 +0100 Subject: [PATCH] arm_core --- build.sh | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 60c8de4..5f41469 100755 --- a/build.sh +++ b/build.sh @@ -62,7 +62,7 @@ COMPRESSION='xz' GRUB_HEAD='# GRUB Environment Block' SIGNED_GRUB='/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' SIGNED_SHIM='/usr/lib/shim/shimx64.efi.signed' -ARM_GRUB='/usr/lib/grub/arm64-efi-signed/grubaa64.efi.signed' +SIGNED_ARM_GRUB='/usr/lib/grub/arm64-efi-signed/grubaa64.efi.signed' ARM_SHIM='/usr/lib/shim/shimaa64.efi.signed' # variables ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅ @@ -75,9 +75,10 @@ MEMDISK_ARCHIVE="${MEMDISK_ROOT}/grub.tar" UEFI_ROOT="${ESP_ROOT}/efi" UEFI_DIRECTORY="${UEFI_ROOT}/boot" -UEFI_CORE="${UEFI_DIRECTORY}/core.efi" +UEFI_CORE="${UEFI_DIRECTORY}/corex64.efi" UEFI_FILE="${UEFI_DIRECTORY}/bootx64.efi" UEFI_GRUB="${UEFI_DIRECTORY}/grubx64.efi" +ARM_CORE="${UEFI_DIRECTORY}/coreaa64.efi" ARM_FILE="${UEFI_DIRECTORY}/bootaa64.efi" ARM_GRUB="${UEFI_DIRECTORY}/grubaa64.efi" @@ -211,6 +212,18 @@ if [ -f "${SIGNED_GRUB}" ] ; then " cp "${SIGNED_GRUB}" "${UEFI_GRUB}" fi +if [ -f "${SIGNED_ARM_GRUB}" ] ; then + echo -n " +↙ ${ARM_GRUB} +↘ ${ARM_CORE} +" + mv "${ARM_GRUB}" "${ARM_CORE}" + echo -n " +↙ ${SIGNED_ARM_GRUB} +↘ ${ARM_GRUB} +" + cp "${SIGNED_ARM_GRUB}" "${UEFI_GRUB}" +fi # bios ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅