Page MenuHomeFreeBSD

loader.efi: chain loader should provide proper device handle
ClosedPublic

Authored by tsoome on Sep 9 2017, 11:48 AM.

Details

Summary

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

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.