[3.0][bug] Missing a 'grub-install' settings for classic image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Confirmed
|
High
|
Unassigned |
Bug Description
Hi,
We found if the classic image, which is generated by ubuntu-image 3.0, uses grub-efi as its boot assets, the classic environment can't update its shim.efi and grub.efi files correctly by "sudo apt upgrade".
Because its grub Debian package manifest settings are not correct.
Please reference the description from livecd-rootfs: https:/
Could ubuntu-image 3.0 support to setup correct grub Debian package manifest?
[Reproduce steps]
1. Build an amd64 classic image that uses grub-efi boot assets
2. Bootup image and make sure there is a newer shim-signed and grub-efi-
3. "sudo apt update" and "sudo apt upgrade" to update newer shim-signed and grub-efi-
4. Check the checksum result for /boot/efi/
5. The checksum result still the old version, not newer version
Changed in ubuntu-image: | |
status: | New → Confirmed |
importance: | Undecided → High |
A possible solution for ubuntu-image 3.0 after grub is installed: usr/lib/ grub/<ARCH> -efi/ --boot- directory= /boot --efi-directory =<EFI path>/EFI --target=<ARCH>-efi --uefi-secure-boot --no-nvram
sudo grub-install --dir=/