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

2023-02-12 Thread Luca Boccassi
On Sun, 12 Feb 2023 12:40:55 + Luca Boccassi wrote: > On Sun, 12 Feb 2023 12:40:19 +0100 Marco d'Itri wrote: > > Also: at least we need to run "bootctl update" on package updates. > > Ah good point, completely forgot about this, will send a MR. https://salsa.debian.org/systemd-team/systemd/

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

2023-02-12 Thread Luca Boccassi
On Sun, 12 Feb 2023 12:40:19 +0100 Marco d'Itri wrote: > On Feb 12, Michael Biebl wrote: > > > 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. > I think tha

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

2023-02-12 Thread Marco d'Itri
On Feb 12, Michael Biebl wrote: > 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. I think that you are right, but then we currently have a significant usability

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

2023-02-12 Thread Michael Biebl
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 kern

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

2023-02-11 Thread 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 -- ciao, Marco s