Bug#1031118: systemd-boot should create boot loader entries for the installed kernels

Michael Biebl biebl at debian.org
Sun Feb 12 09:56:55 GMT 2023


Control: tags -1 + moreinfo
Control: severity -1 + wishlist

Am 12.02.23 um 02:29 schrieb Marco d'Itri:
> Package: systemd-boot
> Version: 252.5-2
> Severity: normal
> 
> systemd-boot.postinst should create boot loader entries for the
> currently installed kernels.
> 
> Something like this should work:
> 
> for kernel in /boot/vmlinuz-*; do
>    kernel-install add "${kernel#*/vmlinuz-}" "$kernel"
> done
> 

I think this only makes sense if systemd-boot is actually the active 
bootloader, which is why the existing hook scripts also have a "bootctl 
is-installed --quiet || exit 0" check.

See also

https://salsa.debian.org/systemd-team/systemd/-/merge_requests/138#note_299022


https://salsa.debian.org/systemd-team/systemd/-/merge_requests/138/diffs?commit_id=6f8062cbb37508fe386da500f99d2e7313390c80
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20230212/967c5790/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list