← Back to team overview

curtin-dev team mailing list archive

[Merge] ~raharper/curtin:fix/uefi-reorder-missing-boot-current into curtin:master

 

The proposal to merge ~raharper/curtin:fix/uefi-reorder-missing-boot-current into curtin:master has been updated.

Commit message changed to:

UEFI: Handle missing BootCurrent entry when reordering UEFI entries

Curtin typically reorders UEFI boot entries to place the currently
booted entry at the front of the list after install. In some cases a
system UEFI may not present a BootCurrent entry and curtin will not
perform any reordering leaving a node to boot from the newly
installed entry. For MAAS deployments, this causes issues as MAAS
expects to retain control over the node via PXE booting.

Curtin will attempt to reorder the boot menu when BootCurrent is
missing (or when forced via curtin config option) by detecting
which menu item was added by the curtin install and moving it back
once place in the list. The feature, UEFI_REORDER_FALLBACK_SUPPORT
is enabled by default. Users may disable reordering and fallback
support.

- unittest/helpers.py: Add with_logs support for CiTestCase
- docs: document grub: reorder_uefi and grub:
  reorder_uefi_force_fallback config options.

LP: #1789650

For more details, see:
https://code.launchpad.net/~raharper/curtin/+git/curtin/+merge/387981
-- 
Your team curtin developers is requested to review the proposed merge of ~raharper/curtin:fix/uefi-reorder-missing-boot-current into curtin:master.


References