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

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to