Discussion:
Bug#1086860: systemd: promote bootctl from systemd-boot
Add Reply
E Shattow
2024-11-06 17:50:01 UTC
Reply
Permalink
Package: systemd
Version: 256.7-3
Severity: normal

Dear Maintainer,

There is need in scripts and installation procedures for reliable
reporting of the EFI System Partition location that is mounted by
systemd:

# bootctl -R
/boot/efi

# bootctl -p
/dev/mmcblk0p2

However in common situations it is not possible (or not wanted) to
install the systemd boot loader currently in systemd-boot package,
which does contain the `bootctl` utility.

Please promote or make available in packaging the `bootctl` command so
that it may be used in riscv64 architecture debian-installer (for
example) where to install devicetree dtb files. Another example of
where this may be useful is in the installation of Grub boot loader
that currently hard-codes the path as `/boot/efi` which is not
compatible with how the system actually mounts EFI System Partition,
as it may not always be in that location. Firstly though we need a
consistent reporting of where systemd has mounted EFI System Partition
and this is not present in /etc/fstab or any other configured file.

This is necessary for trixie to resolve how the EFI System Partition
path can be determined within debian-installer so that the installed
system is bootable.
Luca Boccassi
2024-11-06 18:00:01 UTC
Reply
Permalink
Control: tags -1 wontfix
Control: close -1
Post by E Shattow
Package: systemd
Version: 256.7-3
Severity: normal
Dear Maintainer,
There is need in scripts and installation procedures for reliable
reporting of the EFI System Partition location that is mounted by
# bootctl -R
/boot/efi
# bootctl -p
/dev/mmcblk0p2
However in common situations it is not possible (or not wanted) to
install the systemd boot loader currently in systemd-boot package,
which does contain the `bootctl` utility.
Please promote or make available in packaging the `bootctl` command so
that it may be used in riscv64 architecture debian-installer (for
example) where to install devicetree dtb files. Another example of
where this may be useful is in the installation of Grub boot loader
that currently hard-codes the path as `/boot/efi` which is not
compatible with how the system actually mounts EFI System Partition,
as it may not always be in that location. Firstly though we need a
consistent reporting of where systemd has mounted EFI System
Partition
Post by E Shattow
and this is not present in /etc/fstab or any other configured file.
This is necessary for trixie to resolve how the EFI System Partition
path can be determined within debian-installer so that the installed
system is bootable.
Sorry, but I have no intention of 1) adding more udebs for d-i, and 2)
supporting the combination of bootctl and GRUB2. GRUB2 is the default
bootloader in Debian, and you should use it with the toolings and
assumptions that come with it. bootctl is for systemd-boot.

Loading...