From 18a8d30651498aaf64d3a8aee1d759fb9a9147a3 Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Mon, 12 Sep 2022 15:31:05 +0200 Subject: [PATCH] proxmox-boot: re-add include of helper-functions 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