From nobody Sun Sep 29 15:25:21 2024 X-Original-To: dev-commits-src-all@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 4XGp1F3p0Fz5Xp7c; Sun, 29 Sep 2024 15:25:21 +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 4XGp1F1wjvz4ksf; Sun, 29 Sep 2024 15:25:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727623521; 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=2B0kMQ2MXmEG97w5+T25hUTpCBDH/RdfuOa8VLPKm/4=; b=wONyybwC5+yMwjZlxrHf4LjyctyAhbU8OLPKtKmAh/bW/QKVQOQq3M/pYO+PTf6ssgyE3p It7ZsojcDqt8S2IL5duWwNrjeVAGDMf8yGC220w4AG+x155f2Z8525hoA2OAYIRx2izkFk /k/F5W2cao7NtbqeryEd2G2+reYehdiYfU1zTj/NxEVoV3y3VhpfiWD96BS+nszjTwibUB oZMBJVKF7CUUsTVhjJ8LlgBAKB1RCmuhDY5V4wpun7oKgN6vjxhaMztE0qYyd9asMEGCmP FWubp19SOQhFOQksIlEODcSpnb5lz8jHciEUrrex+GkPsjABqdeJtPE4Xi/Vxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727623521; 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=2B0kMQ2MXmEG97w5+T25hUTpCBDH/RdfuOa8VLPKm/4=; b=qs+yaxzw3s41bosS0rWrpd+DK0mV9Px0ilCEcSAa81lfz2iIlsDtloFqVXtOeu0Kbkmqwu ax8LZSi+WMbdbi8U/EJW4hVXHK6Kdy9qk2sQ09lUWOi1VQfx2iaRLDUfsV7+CQcR/sv47M DpfJTq2HViAMq8jLoxPVIJGun3k8ESdBRLe9pI1WWi3h/BzS/YKZZ5f7BqOCUOHkynqBiW FTf++Dt8LKEbBo/uJVmOwXu8bOjQqymmyQJm1jFFZAtFFi9cfiaMjc8BHdTYwY0YQuRyYE w589sVuyoq6d/5bgJJBtYX9oNx9AAiK3yI86olW0OWBvp8yUfsU5wP/nrVntTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727623521; a=rsa-sha256; cv=none; b=PP340z9EH2YC6owoqTSz/z26omA8qbzg4QvsgokK8PkTpqAJKIFIJlMKvD51O3ODVYT9N3 mkahVNWh9QG7F0WFS3TJrSsM9wK3XLueMhfP7Omj9hWPS8HY1uYD+F65c1cA7M0AAn/ntm ZlyMtHALN6o0gZfPsOl5E9YSnSP+eZ+goPoYPV478S2SrPUUA07k5vPYxmPiQNW9DLUtnH fXk4b4ZRVMBRqVL+QKClqozXLbfATCE6KQeOPdIcoufDoQJvVDt4E3ZrcL/jjOBDjHZdVS 632QXQ/XFK986luKXSPxfE8uf/bZIbGKkQEg4rSZEjoC7Jek7sWlwjZSmQiwWA== 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 4XGp1F1XydzFDC; Sun, 29 Sep 2024 15:25:21 +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 48TFPL2N030651; Sun, 29 Sep 2024 15:25:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48TFPLtE030648; Sun, 29 Sep 2024 15:25:21 GMT (envelope-from git) Date: Sun, 29 Sep 2024 15:25:21 GMT Message-Id: <202409291525.48TFPLtE030648@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Colin Percival Subject: git: a651978fc40c - stable/14 - loader: Load platform entropy even without menu List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: a651978fc40c97b8b9538d64bf0adaedccbb2727 Auto-Submitted: auto-generated The branch stable/14 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=a651978fc40c97b8b9538d64bf0adaedccbb2727 commit a651978fc40c97b8b9538d64bf0adaedccbb2727 Author: Colin Percival AuthorDate: 2024-09-18 11:02:20 +0000 Commit: Colin Percival 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