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)
Wed, May 22, 4:47 AM
Unknown Object (File)
Tue, May 21, 12:32 PM
Unknown Object (File)
Tue, May 21, 12:28 PM
Unknown Object (File)
Tue, May 21, 4:54 AM
Unknown Object (File)
May 6 2024, 7:48 AM
Unknown Object (File)
May 2 2024, 4:25 AM
Unknown Object (File)
Apr 24 2024, 11:27 PM
Unknown Object (File)
Mar 13 2024, 11:56 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