[Bug 1882663] Re: Specify flavour ordering

Julian Andres Klode 1882663 at bugs.launchpad.net
Thu Aug 27 10:06:45 UTC 2020


Focal:

- Installed linux-image-oem-20.04
- Before: 5.6.0 oem kernel sorts higher in menu/grub.cfg than 5.4.0 generic kernel
- Upgrading grub to ubuntu26.3 does not change order
- Created /etc/default/grub.d/order.cfg with `GRUB_FLAVOUR_ORDER=generic`
- After: 5.4.0-*-generic now sorts higher in menu than 5.6.0-*-oem


OK

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1882663

Title:
  Specify flavour ordering

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2 source package in Xenial:
  Fix Committed
Status in grub2 source package in Bionic:
  Fix Committed
Status in grub2 source package in Eoan:
  Won't Fix
Status in grub2 source package in Focal:
  Fix Committed
Status in grub2 source package in Groovy:
  Fix Released

Bug description:
  [Impact]
  We need to be able to override the preferred kernel flavour, examples being:

  - OEM metapackages need to set the kernel flavour to oem, and later to
  generic (e.g. when transitioning from 6.0-1000-oem to 6.0-1-generic)

  - FIPS kernels might cause a downgrade compared to an HWE kernel, but
  if you enable FIPS and reboot, you want to be booting a FIPS kernel

  [Regression potential]
  The change affects the ordering of kernels inside grub, hence a regression could be that we end up with the wrong order of kernels.

  [Test case]
  Install two flavours, add flavour name with lower version to /etc/default/grub.d/somefilename

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1882663/+subscriptions



More information about the foundations-bugs mailing list