Page MenuHomeFreeBSD

fix ESP generation for ZFS boot
ClosedPublic

Authored by yuripv on Oct 8 2019, 6:10 AM.
Tags
None
Referenced Files
F107284348: D21930.diff
Sat, Jan 11, 11:30 PM
Unknown Object (File)
Fri, Jan 10, 5:31 AM
Unknown Object (File)
Nov 26 2024, 5:44 AM
Unknown Object (File)
Nov 3 2024, 4:55 PM
Unknown Object (File)
Nov 3 2024, 4:55 PM
Unknown Object (File)
Nov 3 2024, 4:55 PM
Unknown Object (File)
Nov 3 2024, 4:47 PM
Unknown Object (File)
Oct 29 2024, 11:59 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 Skipped
Unit
Tests Skipped