This commit is contained in:
Marc Beninca 2023-12-15 22:51:27 +01:00
parent 543f4a9175
commit 8f6a3538cc

View file

@ -62,7 +62,7 @@ COMPRESSION='xz'
GRUB_HEAD='# GRUB Environment Block' GRUB_HEAD='# GRUB Environment Block'
SIGNED_GRUB='/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' SIGNED_GRUB='/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed'
SIGNED_SHIM='/usr/lib/shim/shimx64.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' ARM_SHIM='/usr/lib/shim/shimaa64.efi.signed'
# variables ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅ # variables ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
@ -75,9 +75,10 @@ MEMDISK_ARCHIVE="${MEMDISK_ROOT}/grub.tar"
UEFI_ROOT="${ESP_ROOT}/efi" UEFI_ROOT="${ESP_ROOT}/efi"
UEFI_DIRECTORY="${UEFI_ROOT}/boot" UEFI_DIRECTORY="${UEFI_ROOT}/boot"
UEFI_CORE="${UEFI_DIRECTORY}/core.efi" UEFI_CORE="${UEFI_DIRECTORY}/corex64.efi"
UEFI_FILE="${UEFI_DIRECTORY}/bootx64.efi" UEFI_FILE="${UEFI_DIRECTORY}/bootx64.efi"
UEFI_GRUB="${UEFI_DIRECTORY}/grubx64.efi" UEFI_GRUB="${UEFI_DIRECTORY}/grubx64.efi"
ARM_CORE="${UEFI_DIRECTORY}/coreaa64.efi"
ARM_FILE="${UEFI_DIRECTORY}/bootaa64.efi" ARM_FILE="${UEFI_DIRECTORY}/bootaa64.efi"
ARM_GRUB="${UEFI_DIRECTORY}/grubaa64.efi" ARM_GRUB="${UEFI_DIRECTORY}/grubaa64.efi"
@ -211,6 +212,18 @@ if [ -f "${SIGNED_GRUB}" ] ; then
" "
cp "${SIGNED_GRUB}" "${UEFI_GRUB}" cp "${SIGNED_GRUB}" "${UEFI_GRUB}"
fi 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 ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅ # bios ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅