Comment 0 for bug 1928674

Revision history for this message
Dimitri John Ledkov (xnox) wrote : due to a new recommends grub-efi-arm64-signed is installed which does not have postinst.d script

[Impact]

 * /etc/kernel/{postinst.d,postrm.d}/zz-update-grub missing on arm64 with grub-efi-arm64-signed installed, without grub-efi-arm64.

 * /etc/kernel/{postinst.d,postrm.d}/zz-update-grub missing on amd64 with grub-efi-amd64-signed installed without grub-pc or grub-efi-amd64.

 * This results in newly installed kernels not getting added to grub.cfg and thus upon reboot one does not boot into the new kernel.

 * In later series these scripts moved to grub2-common. Maybe we should move these to grub2-common in bionic and earlier too, for compatibility with onegrub.

[Test Plan]

 * Install new grubs

 * Install a new kernel that was not installed before

 * Observe that grub.cfg is regenerated and new kernel is present

 * Remove an old kernel

 * Observe that grub.cfg is regenerated and new kernel is removed from grub.cfg

[Where problems could occur]

 * These are conffiles. Although nobody should modify them, care should be taken when moving conffiles around.

[Other Info]

 * First reported by klebers