** Description changed: - grub-legacy-ec2 is a binary package provided by Ubuntu cloud-init - source package. I'm hoping that we can finally sunset this thing in - bionic. + grub-legacy-ec2 is a binary package. It maintains /boot/grub/menu.lst + without conflicting with other bootloaders (grub or grub2) and without + any problematic dependencies. Canonical no longer publishes PV images on EC2, so there is no need for this package in EC2 images speficially. (http://paste.ubuntu.com/p/W5H33Mb7Pz/) - I'd like to drop this from cloud-init and suggest pv-grub-menu to - anyone looking for equivalent function. + I'd like to replace the use of the ubuntu-only pv-grub-legacy-ec2 + with the debian-maintained pv-grub-menu for anything looking for equivalent + function. The motivation for this is simply to remove duplicate code. - It seems like we would likely want to include pv-grub-menu in the images. - That would be useful to non-aws users of xen (IBM/Softlayer) or users - publishing their own images to amazon. + It seems that official stock Ubuntu images still need to maintain + /boot/grub/menu.lst. This is necessary for non-aws users of xen + (IBM/Softlayer) or users publishing their own images to amazon. Some background info: * grub-legacy-ec2 has really no relevancy to cloud-init. It just got stuck there within the first year I worked for Canonical because I didn't really know any better. It would have been better if it was a separate package from the start. Force of friction left it where it - was. + was. In early 2018 we separated the packag out of cloud-init into + its own package (bug 1758420). * grub-legacy-ec2 builds a /boot/grub/menu.lst file for installed kernels the same way 'update-grub' builds /boot/grub/grub.cfg but does so without conflicting with grub2 or attempting to install a bootloader. That boot/grub/menu.lst file is then read (most commonly) by a program named 'pv-grub'. * 'pv-grub-menu' that does roughly the equivalent, but possibly does not have some of the changes that we've made to grub-legacy-ec2 to properly identify xen kernels. It even 'Provides' grub-legacy-ec2. * currently ubuntu-server/server seed explicitly includes grub-legacy-ec2 that is the only reverse-depends. Related bugs: - * bug 1758420: separate grub-legacy-ec2 from cloud-init + * bug 1758420: separate grub-legacy-ec2 from cloud-init + * bug 1756426: not all recommends of ubuntu-server are installaed in lxd (squashfs) image
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756420 Title: replace grub-legacy-ec2 with pv-grub-menu To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-images/+bug/1756420/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
