amd64: revert all grub changes for xenial

For LP: #1901906, on other releases we ensured that grub-pc is always
installed with shim-signed. However, xenial has different behavior that
does not work the same. This reverts those changes back to what
livecd-rootfs was before any of those changes were made, keeping only
the autoremove packages work.

LP: #1901906
ubuntu/xenial
Joshua Powers 4 years ago
parent edc6ca4708
commit a9249b1773
No known key found for this signature in database
GPG Key ID: 83FC0713DA660C25

@ -501,9 +501,9 @@ case $PROJECT in
add_package install grub-pc add_package install grub-pc
;; ;;
amd64) amd64)
add_package install grub-pc add_package install grub-pc-bin
add_package install shim-signed
add_package install grub-efi-amd64-signed add_package install grub-efi-amd64-signed
add_package install shim-signed
;; ;;
armhf) armhf)
add_package install flash-kernel u-boot-tools add_package install flash-kernel u-boot-tools

@ -86,7 +86,7 @@ install_grub() {
efi_target=arm64-efi efi_target=arm64-efi
;; ;;
amd64) amd64)
chroot mountpoint apt-get install -qqy grub-pc shim-signed grub-efi-amd64-signed chroot mountpoint apt-get install -qqy grub-efi-amd64-signed grub-efi-amd64 shim-signed
grub_modules="multiboot serial usb usb_keyboard" grub_modules="multiboot serial usb usb_keyboard"
efi_target=x86_64-efi efi_target=x86_64-efi
;; ;;

Loading…
Cancel
Save