Page MenuHomeFreeBSD

fix ESP generation for ZFS boot
ClosedPublic

Authored by yuripv on Oct 8 2019, 6:10 AM.
Tags
None
Referenced Files
F167326334: D21930.id63075.diff
Thu, Aug 20, 10:29 PM
Unknown Object (File)
Thu, Aug 13, 5:51 AM
Unknown Object (File)
Tue, Aug 11, 2:36 AM
Unknown Object (File)
Mon, Aug 10, 8:38 AM
Unknown Object (File)
Sun, Aug 9, 9:50 PM
Unknown Object (File)
Sun, Aug 9, 9:50 PM
Unknown Object (File)
Sat, Aug 8, 5:29 PM
Unknown Object (File)
Fri, Aug 7, 3:11 AM
Subscribers

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable