loader: Load platform entropy even without menu

In 5c73b3e0a3 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:	5c73b3e0a3 ("Add support for getting early entropy from UEFI")
Differential Revision:	https://reviews.freebsd.org/D46637

(cherry picked from commit 74a28cf6e7f66c7c12fd25ee8231eeedf756bf08)
This commit is contained in:
Colin Percival 2024-09-18 04:02:20 -07:00
parent 82ade8ed7e
commit a651978fc4

View file

@ -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