From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 79829924A4 for ; Mon, 12 Sep 2022 15:31:53 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 688AF58BC for ; Mon, 12 Sep 2022 15:31:23 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Mon, 12 Sep 2022 15:31:22 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 3833042DB4 for ; Mon, 12 Sep 2022 15:31:22 +0200 (CEST) From: Stoiko Ivanov To: pve-devel@lists.proxmox.com Date: Mon, 12 Sep 2022 15:31:05 +0200 Message-Id: <20220912133105.3238475-1-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.188 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] [PATCH pve-kernel-meta] proxmox-boot: re-add include of helper-functions X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2022 13:31:53 -0000 this fixes ccfbe44f75316d41e271f68a725accbd90655456 in the patch I accidentally removed the include of the helper functions - the code uses `warn` from there reported in our enterprise support portal and in our community-forum: https://forum.proxmox.com/threads/.114998 reproduced with a VM: * legacy bios * installed PVE 6.3 (so that p-b-t was not used for legacy systems) * then upgraded to a bullseye snapshot of 01.09.2022 * then upgraded to the last bullseye point-release - this patch fixes the issue there. The issue should not occur on systems using p-b-t or not using zfs for /. Signed-off-by: Stoiko Ivanov --- bin/grub-install-wrapper | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/grub-install-wrapper b/bin/grub-install-wrapper index 90c144e..69bd878 100755 --- a/bin/grub-install-wrapper +++ b/bin/grub-install-wrapper @@ -2,6 +2,8 @@ set -e +. /usr/share/pve-kernel-helper/scripts/functions + if proxmox-boot-tool status --quiet; then # detect when being called by dpkg (e.g. grub-pc.postinst if [ -n "$DPKG_RUNNING_VERSION" ] && echo "$DPKG_MAINTSCRIPT_PACKAGE" | grep -sq "^grub-"; then -- 2.30.2