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 <s.iva...@proxmox.com>
---
 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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to