Installer: fix for arm64 for builds before trixie

The package 'grub-efi-arm64-unsigned' was introduced in trixie
(Closes: #108850)
This commit is contained in:
Roland Clobus 2024-11-30 21:27:45 +01:00
parent 4a8b01df80
commit 61d2eb3f30
No known key found for this signature in database
GPG Key ID: 62C57C6AA61495BD
1 changed files with 6 additions and 1 deletions

View File

@ -429,7 +429,12 @@ then
arm64)
DI_REQ_PACKAGES="grub-efi-arm64 efibootmgr grub-efi-arm64-signed shim-signed" # UEFI (required for d-i, includes suggested packages)
DI_REQ_PACKAGES="${DI_REQ_PACKAGES} grub-efi grub-efi-arm64-bin grub2-common mokutil shim-helpers-arm64-signed shim-signed-common shim-unsigned grub-efi-arm64-unsigned" # UEFI (required by Calamares)
DI_REQ_PACKAGES="${DI_REQ_PACKAGES} grub-efi grub-efi-arm64-bin grub2-common mokutil shim-helpers-arm64-signed shim-signed-common shim-unsigned" # UEFI (required by Calamares)
# grub-efi-arm64-unsigned was introduced in trixie
if [ $(Check_package_available "grub-efi-arm64-unsigned") -eq 1 ]
then
DI_REQ_PACKAGES="${DI_REQ_PACKAGES} grub-efi-arm64-unsigned"
fi
DI_PACKAGES="linux-image-arm64"
;;