* [pve-devel] [PATCH pve-kernel-meta] proxmox-boot: re-add include of helper-functions
@ 2022-09-12 13:31 Stoiko Ivanov
2022-09-12 14:37 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Stoiko Ivanov @ 2022-09-12 13:31 UTC (permalink / raw)
To: pve-devel
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.ivanov@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH pve-kernel-meta] proxmox-boot: re-add include of helper-functions
2022-09-12 13:31 [pve-devel] [PATCH pve-kernel-meta] proxmox-boot: re-add include of helper-functions Stoiko Ivanov
@ 2022-09-12 14:37 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2022-09-12 14:37 UTC (permalink / raw)
To: Proxmox VE development discussion, Stoiko Ivanov
Am 12/09/2022 um 15:31 schrieb Stoiko Ivanov:
> 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.ivanov@proxmox.com>
> ---
> bin/grub-install-wrapper | 2 ++
> 1 file changed, 2 insertions(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-12 14:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-12 13:31 [pve-devel] [PATCH pve-kernel-meta] proxmox-boot: re-add include of helper-functions Stoiko Ivanov
2022-09-12 14:37 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox