Page MenuHomeFreeBSD

fix ESP generation for ZFS boot
ClosedPublic

Authored by yuripv on Oct 8 2019, 6:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 16, 3:17 AM
Unknown Object (File)
Mon, Oct 13, 1:12 AM
Unknown Object (File)
Fri, Oct 10, 3:20 AM
Unknown Object (File)
Thu, Oct 2, 3:58 AM
Unknown Object (File)
Wed, Oct 1, 12:53 PM
Unknown Object (File)
Thu, Sep 25, 7:58 AM
Unknown Object (File)
Thu, Sep 25, 4:04 AM
Unknown Object (File)
Wed, Sep 24, 11:00 PM
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