#1014455 talks about running the scripts twice.

The initrd copied twice is caused by /etc/initramfs/post-
update.d/systemd-boot which calls kernel-install with initrd optional
parameter.

This leads to having the initrd copied twice :

$kernel/initrd
$kernel/initrd-$version

But systemd entries are correctly configured using the last initrd
copied.

Changing the kernel-install call in /etc/initramfs/post-
update.d/systemd-boot from :

kernel-install add "$1" "/boot/vmlinuz-$1" "$2"

To :

kernel-install add "$1" "/boot/vmlinuz-$1"

Solves the issue for me.

Reply via email to