Page MenuHomeFreeBSD

loader.efi: chain loader should provide proper device handle

Authored by tsoome on Sep 9 2017, 11:48 AM.
Referenced Files
Unknown Object (File)
Wed, Apr 17, 12:28 AM
Unknown Object (File)
Tue, Apr 16, 3:23 PM
Unknown Object (File)
Tue, Apr 16, 2:06 PM
Unknown Object (File)
Tue, Apr 16, 12:23 PM
Unknown Object (File)
Wed, Apr 3, 9:27 PM
Unknown Object (File)
Feb 18 2024, 7:27 AM
Unknown Object (File)
Feb 8 2024, 9:26 PM
Unknown Object (File)
Feb 7 2024, 8:45 AM



Since the efipart rewrite, the chain command was looking for device
handle using interface applicable only for net devices. Disk
partitions and zfs pools need their own approach to find the proper handle.

Test Plan

tested by chain loading loader.efi from another zfs pool and from ESP.

Diff Detail

rS FreeBSD src repository - subversion
Lint Passed
No Test Coverage
Build Status
Buildable 11446
Build 11802: arc lint + arc unit

Event Timeline

This looks good to me.

This revision is now accepted and ready to land.Sep 9 2017, 5:57 PM
This revision was automatically updated to reflect the committed changes.

This breaks the kernel build if WITHOUT_ZFS is defined in src.conf.