Page MenuHomeFreeBSD

loader.efi: Expand uefi_rootdev to probe disks
Needs ReviewPublic

Authored by imp on Wed, Jun 24, 4:33 AM.
Tags
None
Referenced Files
F160559972: D57803.diff
Thu, Jun 25, 4:44 PM
Unknown Object (File)
Wed, Jun 24, 7:17 AM
Subscribers

Details

Reviewers
kevans
manu
Summary

uefi_rootdev had to be the exact device to work. This is often difficult
to arrange and awkward. Instead, have it search the specified device: As
a partition if it specifies the partition, and as the whole disk if the
specified partition didn't work or it specifies a disk. This brings it
into lone what we do with other devices. This overrides the boot manager
search we do before we do this for the boot device, but this knob has
always been meant to overload the boot manager search.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74185
Build 71068: arc lint + arc unit