diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2024-09-18 11:02:20 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2024-09-22 07:35:48 +0000 |
commit | 74a28cf6e7f66c7c12fd25ee8231eeedf756bf08 (patch) | |
tree | 076c247dd8d4d9dfea3938f2d457b9705d5dfa5b | |
parent | 714a6d436819d446e01d1e4741fbe1089a23fe57 (diff) | |
download | src-74a28cf6e7f66c7c12fd25ee8231eeedf756bf08.tar.gz src-74a28cf6e7f66c7c12fd25ee8231eeedf756bf08.zip |
loader: Load platform entropy even without menu
In 5c73b3e0a3db calls to core.loadEntropy were added to core.boot
and core.autoboot; but neither of those is invoked if we disable
the "beastie" menu. Add a core.loadEntropy call to the no-menu
path.
Reviewed by: imp
MFC after: 1 week
Sponsored by: Amazon
Fixes: 5c73b3e0a3db ("Add support for getting early entropy from UEFI")
Differential Revision: https://reviews.freebsd.org/D46637
-rw-r--r-- | stand/lua/loader.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/lua/loader.lua b/stand/lua/loader.lua index 454cd7e6332f..0874239db587 100644 --- a/stand/lua/loader.lua +++ b/stand/lua/loader.lua @@ -54,4 +54,6 @@ if not core.isMenuSkipped() then else -- Load kernel/modules before we go config.loadelf() + -- Load platform entropy if possible + core.loadEntropy() end |