Page MenuHomeFreeBSD

loader.efi: chain loader should provide proper device handle

Authored by tsoome on Sep 9 2017, 11:48 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
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

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.