git: a651978fc40c - stable/14 - loader: Load platform entropy even without menu
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Sep 2024 15:25:21 UTC
The branch stable/14 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=a651978fc40c97b8b9538d64bf0adaedccbb2727 commit a651978fc40c97b8b9538d64bf0adaedccbb2727 Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2024-09-18 11:02:20 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2024-09-29 15:24:53 +0000 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 (cherry picked from commit 74a28cf6e7f66c7c12fd25ee8231eeedf756bf08) --- stand/lua/loader.lua | 2 ++ 1 file changed, 2 insertions(+) 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