mirror of
https://git.proxmox.com/git/pve-kernel-meta
synced 2025-04-28 18:31:23 +00:00
proxmox-boot: re-add include of helper-functions
this fixes ccfbe44f75
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.ivanov@proxmox.com>
This commit is contained in:
parent
1abc017599
commit
18a8d30651
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
. /usr/share/pve-kernel-helper/scripts/functions
|
||||||
|
|
||||||
if proxmox-boot-tool status --quiet; then
|
if proxmox-boot-tool status --quiet; then
|
||||||
# detect when being called by dpkg (e.g. grub-pc.postinst
|
# detect when being called by dpkg (e.g. grub-pc.postinst
|
||||||
if [ -n "$DPKG_RUNNING_VERSION" ] && echo "$DPKG_MAINTSCRIPT_PACKAGE" | grep -sq "^grub-"; then
|
if [ -n "$DPKG_RUNNING_VERSION" ] && echo "$DPKG_MAINTSCRIPT_PACKAGE" | grep -sq "^grub-"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user