Installer: fix for bookworm and bullseye
The package 'grub-efi-amd64-unsigned' was introduce in trixie
This commit is contained in:
parent
c7bc5f311c
commit
86078425e2
|
@ -413,7 +413,12 @@ then
|
|||
DI_REQ_PACKAGES="${DI_REQ_PACKAGES} libfuse2"
|
||||
fi
|
||||
DI_REQ_PACKAGES="${DI_REQ_PACKAGES} grub-efi-amd64 efibootmgr grub-efi-amd64-signed shim-signed" # UEFI (required for d-i, includes suggested packages)
|
||||
DI_REQ_PACKAGES="${DI_REQ_PACKAGES} efibootmgr grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-unsigned grub-efi-amd64-signed grub2-common mokutil shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned cryptsetup cryptsetup-initramfs keyutils" # UEFI (required by Calamares)
|
||||
DI_REQ_PACKAGES="${DI_REQ_PACKAGES} efibootmgr grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common mokutil shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned cryptsetup cryptsetup-initramfs keyutils" # UEFI (required by Calamares)
|
||||
# grub-efi-amd64-unsigned was introduced in trixie
|
||||
if [ $(Check_package_available "grub-efi-amd64-unsigned") -eq 1 ]
|
||||
then
|
||||
DI_REQ_PACKAGES="${DI_REQ_PACKAGES} grub-efi-amd64-unsigned"
|
||||
fi
|
||||
DI_PACKAGES="linux-image-amd64"
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in New Issue