[Bug 2047863] [NEW] Call grub2 to update BLS entries on RH-based distros

Alexsander de Souza 2047863 at bugs.launchpad.net
Tue Jan 2 22:08:01 UTC 2024


Public bug reported:

RHEL, CentOS, Rocky, Oracle Linux and possibly other RH derivative
distros have adopted the BLS specification [1] in recent releases.
Curtin must do a different procedure when configuring the bootloader in
such systems.

1. check if the system has BLS enabled:

  look for `GRUB_ENABLE_BLSCFG=true` in /etc/default/grub

2. if BLS is enabled, add `--update-bls-cmdline` flag to the
grub2-mkconfig command line in `curtin/commands/install_grub.py`


[1] https://uapi-group.org/specifications/specs/boot_loader_specification/

** Affects: curtin
     Importance: Undecided
         Status: New

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

Title:
  Call grub2 to update BLS entries on RH-based distros

Status in curtin:
  New

Bug description:
  RHEL, CentOS, Rocky, Oracle Linux and possibly other RH derivative
  distros have adopted the BLS specification [1] in recent releases.
  Curtin must do a different procedure when configuring the bootloader
  in such systems.

  1. check if the system has BLS enabled:

    look for `GRUB_ENABLE_BLSCFG=true` in /etc/default/grub

  2. if BLS is enabled, add `--update-bls-cmdline` flag to the
  grub2-mkconfig command line in `curtin/commands/install_grub.py`

  
  [1] https://uapi-group.org/specifications/specs/boot_loader_specification/

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/2047863/+subscriptions




More information about the foundations-bugs mailing list