From nobody Sun Sep 22 07:36:48 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XBHxr6cPSz5XYMN; Sun, 22 Sep 2024 07:36:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBHxr48DZz44ng; Sun, 22 Sep 2024 07:36:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726990608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a6/N95iaNjiJq/aFGsl+WGRIVlap7ViUOHzuiYNFZxo=; b=YeyokEe+rZuiAP06s9bO3amk4QjbPvuEyUNaUZpOF3a7SonlD2jTVJSSscLNmHJNT/Qsd4 TmeNHaSq/L/ofjjdoC04QQsyKbJVByYOyGYfT/P3Uo0Uh/bX8w/eO6yhbPZzMEsC8vpkYk q/av4J1M6zv3+sFOKi2ijhKAwXgpQ/ZzJKogISs68GqcpNmZ00+rmI6RAWvSp7l3ITolnS gXLBQ0sFg8lGeUcUO0eOz4LXnEJZei91bANVPL5ZCuOFInytwYBXQoJLOcdbAGqn1txLkt l8bq2a0VRuDyl1pqwgRNoeKs092IvO0V8e//Q2AKLmEiF2bGc/6USJDhm3E/HA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726990608; a=rsa-sha256; cv=none; b=NJxQy+aaNYXen/sfmtUpj3GU2MSK+x6Hr6ZqTbYfD3pzSHs4y8QZMKlOqg7NRzE7vTazgX tA8IzqOM7bqqRJCU4ZHFCXOkRkQZaQ7CVj0DmPtA65+oxiRMurWD0HigROLpLL1pze76bk 6/4dcqnt5rEAlgKXRHtta/TubLgkJBCwOAeGl4dgZusPol4dfmkArehvt1MzlXfYfP8ARv EceofBfDPhzzVg3hahFF5I97INv0YuH8WLkunjMm2crN/g8x2iTq9P/4Mi2n0CBiuQFzvb 5AMGVEiBO/ivHpPSsNKCmlzbHGbzYu3sLsJ9G5K04mD7E/eDY7DKRnGp+4PNKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726990608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a6/N95iaNjiJq/aFGsl+WGRIVlap7ViUOHzuiYNFZxo=; b=mvfLnyAY5hPiFO5JshnxBjPpAtL60WwEsI3ZDb85yFJBXIEbO303e6KVLZ3PbYorl1V9Fg RevOp8Zzl4PDAFW0k6HnoBUBl4vsUxr8qfs4rwfzhYHRqCyT2LDMBn1nZhCJiM/FCXGJEY ZncOwJJq6aM5aMMIEqJIG8iwC+d2Y5dyIIj19pC0a6JHvPKtSqrGSA7i9aOqzs1r+TjTD+ b+TMvthDfmvdyfgoQHk8HRJrqZXpFm0srcpFBDd1rH/nw9PNhEqWRZm6yzPdXhS+vtzc97 xl0WimRqD6ZVClUSZMbAinVJFjJWIijJJ7OItQaxre/lljajGOPvt8+Ygy1NBA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XBHxr3lMYz16hg; Sun, 22 Sep 2024 07:36:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48M7amEx097368; Sun, 22 Sep 2024 07:36:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48M7am2v097365; Sun, 22 Sep 2024 07:36:48 GMT (envelope-from git) Date: Sun, 22 Sep 2024 07:36:48 GMT Message-Id: <202409220736.48M7am2v097365@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Colin Percival Subject: git: 74a28cf6e7f6 - main - loader: Load platform entropy even without menu List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 74a28cf6e7f66c7c12fd25ee8231eeedf756bf08 Auto-Submitted: auto-generated The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=74a28cf6e7f66c7c12fd25ee8231eeedf756bf08 commit 74a28cf6e7f66c7c12fd25ee8231eeedf756bf08 Author: Colin Percival AuthorDate: 2024-09-18 11:02:20 +0000 Commit: Colin Percival CommitDate: 2024-09-22 07:35:48 +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 --- 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