all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH proxmox-kernel-helper] systemd-boot: switch to suggesting new packages
@ 2025-07-31 11:44 Fabian Grünbichler
  2025-08-01  8:52 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Grünbichler @ 2025-07-31 11:44 UTC (permalink / raw)
  To: pve-devel

in Trixie, systemd-boot got split into:

systemd-boot: systemd integration and automatic installation of bootloader
systemd-boot-tools: bootctl
systemd-boot-efi(-XXX-signed): EFI binaries

when managed using p-b-t, we only want the latter two, since systemd-boot fails
its postinst (sometimes) if the ESP is not mounted.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---

Notes:
    we prepared a fixed systemd-boot package for our repositories, but since
    systemd is updated fairly frequently even in Debian stable we either need to
    keep doing that or avoid pulling in systemd-boot on p-b-t *using* systems..
    
    but of course, users might want to use systemd-boot without p-b-t, so a hard
    Conflict also seems like a bad option..

 debian/control            | 2 +-
 src/bin/proxmox-boot-tool | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index f98c044..756be91 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Architecture: all
 Section: admin
 Priority: optional
 Depends: dosfstools, gdisk, systemd, udev, ${misc:Depends},
-Suggests: systemd-boot,
+Suggests: systemd-boot-tools, systemd-boot-efi
 Breaks: proxmox-ve (<< 6.0-2~), pve-kernel-helper,
 Replaces: proxmox-ve (<< 6.0-2~), pve-kernel-helper,
 Provides: pve-kernel-helper,
diff --git a/src/bin/proxmox-boot-tool b/src/bin/proxmox-boot-tool
index 6209393..95d699d 100755
--- a/src/bin/proxmox-boot-tool
+++ b/src/bin/proxmox-boot-tool
@@ -182,7 +182,11 @@ init_bootloader() {
 			mkdir -p "$esp_mp/$PMX_ESP_DIR"
 			if ! command -V bootctl >/dev/null 2>&1 ;
 			then
-				warn "E: bootctl is not available - make sure systemd-boot is installed"
+				warn "E: bootctl is not available - make sure systemd-boot-tools is installed"
+				exit 1
+			fi
+			if [ ! -d /usr/lib/systemd/boot/efi ]; then
+				warn "E: systemd-boot EFI files not available - make sure systemd-boot-efi is installed"
 				exit 1
 			fi
 
-- 
2.39.5



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH proxmox-kernel-helper] systemd-boot: switch to suggesting new packages
  2025-07-31 11:44 [pve-devel] [PATCH proxmox-kernel-helper] systemd-boot: switch to suggesting new packages Fabian Grünbichler
@ 2025-08-01  8:52 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-08-01  8:52 UTC (permalink / raw)
  To: Proxmox VE development discussion, Fabian Grünbichler

Am 31.07.25 um 13:45 schrieb Fabian Grünbichler:
> in Trixie, systemd-boot got split into:
> 
> systemd-boot: systemd integration and automatic installation of bootloader
> systemd-boot-tools: bootctl
> systemd-boot-efi(-XXX-signed): EFI binaries
> 
> when managed using p-b-t, we only want the latter two, since systemd-boot fails
> its postinst (sometimes) if the ESP is not mounted.
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
> ---
> 
> Notes:
>     we prepared a fixed systemd-boot package for our repositories, but since
>     systemd is updated fairly frequently even in Debian stable we either need to
>     keep doing that or avoid pulling in systemd-boot on p-b-t *using* systems..
>     
>     but of course, users might want to use systemd-boot without p-b-t, so a hard
>     Conflict also seems like a bad option..
> 
>  debian/control            | 2 +-
>  src/bin/proxmox-boot-tool | 6 +++++-
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 
>

applied this one already yesterday, thanks!


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-01  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-31 11:44 [pve-devel] [PATCH proxmox-kernel-helper] systemd-boot: switch to suggesting new packages Fabian Grünbichler
2025-08-01  8:52 ` [pve-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal