]> git.proxmox.com Git - proxmox-kernel-helper.git/commit
grub-wrapper: don't fail on reinit/refresh error
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 21 Nov 2023 07:53:05 +0000 (08:53 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Nov 2023 08:16:08 +0000 (09:16 +0100)
commitd7166478f4cb26a75f5f05dd14259a18e7aa6c46
tree69854a26b31145f2732a144966d924cdcde630ab
parent0f4d066f1c6f4a66343f8047a1c76afcfa5ad9b4
grub-wrapper: don't fail on reinit/refresh error

these can happen for example if the system
- is set up to boot using systemd-boot
- but grub updates trigger a call to "grub-install"
- and systemd-boot is not installed

in this case, "proxmox-boot-tool reinit" will fail because of the lack of
"systemd-boot", and the upgrade triggering the grub-install call would error
out.

all the error messages/warnings are still printed and hopefully noticed.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/bin/grub-install-wrapper