Page MenuHomeFreeBSD

fix ESP generation for ZFS boot
ClosedPublic

Authored by yuripv on Tue, Oct 8, 6:10 AM.

Details

Summary

bootconfig script uses ZFSBOOT_DISKS variable that isn't defined, and auto-detection of the ESP partition seems to be unreliable in some cases. Fix this by passing ZFSBOOT_DISKS contents from zfsboot script via temporary file.

While here, fix printing of debug messages in bootconfig (helped with debugging this :).

Test Plan

Install using memstick on a system with NVMe (boot) and SATA.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuripv created this revision.Tue, Oct 8, 6:10 AM
bcran accepted this revision.Wed, Oct 9, 1:39 AM
This revision is now accepted and ready to land.Wed, Oct 9, 1:39 AM
imp accepted this revision.Wed, Oct 9, 2:05 AM
tsoome accepted this revision.Wed, Oct 9, 4:42 AM
This revision was automatically updated to reflect the committed changes.
emaste added a subscriber: emaste.Wed, Oct 9, 8:44 PM