]> git.proxmox.com Git - proxmox-kernel-helper.git/commit
proxmox-boot: warn on missing systemd-boot package
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 21 Jun 2023 14:32:26 +0000 (16:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 15:27:51 +0000 (17:27 +0200)
commit53398c5c9288056d0ddb6afccceb70bd0ce0f5d8
tree2055d92157dd497034d0cd1719e03b8911169d4f
parenta3c1ce92dbd257d49bd1cceac928d8ca82c2c373
proxmox-boot: warn on missing systemd-boot package

With the shipping of systemd-boot as separate package, we cannot rely
on `bootctl` being present in all systems (e.g. currently all systems
upgraded from PVE 7 will not automatically pull systemd-boot in.

This patch adds a check for existence + warning with an explanation to
the only invocation of bootctl in the boot-tool codebase

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/bin/proxmox-boot-tool