Page MenuHomeFreeBSD

stand/loader.efi: fix regression with ignoring nvstore
ClosedPublic

Authored by glebius on Sep 9 2023, 4:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
May 18 2024, 12:21 AM
Unknown Object (File)
May 18 2024, 12:21 AM
Unknown Object (File)
May 16 2024, 8:57 AM
Unknown Object (File)
May 16 2024, 8:46 AM
Unknown Object (File)
Apr 24 2024, 2:18 AM
Unknown Object (File)
Apr 16 2024, 2:50 AM
Unknown Object (File)
Mar 14 2024, 10:27 PM
Unknown Object (File)
Mar 11 2024, 8:10 AM
Subscribers

Details

Summary

We always need to call zfs_attach_nvstore() regardless of whether we
use bootonce key in nvstore or the bootfs property of the pool.

In particular this fixes broken 'nextboot -k'.

Fixes: e3e2681d0ec28d6661fef6da76c9479049e2761c

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Please include why this is needed always in the commit message because this is counter intuitive to me and I think contradicts review feedback I got originally.

This revision is now accepted and ready to land.Sep 9 2023, 4:27 AM