Dear Maintainer,
after switching to systemd-boot, a plain "dracut -f" invocation to build
a new initrd doesn't work anymore:
$ dracut -f
dracut[I]: Executing: /usr/bin/dracut -f
...
dracut[I]: *** Creating image file '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd.tmp' ***
dracut[I]: Using auto-determined compression method 'pigz'
dracut[I]: *** Creating initramfs image file '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd.tmp' done ***
dracut[I]: *** Moving image file '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd.tmp' to '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd' ***
dracut[I]: *** Moving image file '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd.tmp' to '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd' done ***
Cannot build depthcharge images when no board is specified.
Not booted with depthcharge, so ignoring that.
Updating kernel version 6.12.38+deb13-amd64 in systemd-boot...
install: '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd' and '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd' are the same file
Error: could not copy '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd' to '/boot/efi/bdc11e9baee74faba4e9574412dc049b/6.12.38+deb13-amd64/initrd'.
/usr/lib/kernel/install.d/90-loaderentry.install failed with exit status 1.
run-parts: /etc/initramfs/post-update.d//systemd-boot exited with return code 1
I'm not 100% sure, but I believe that dracut -f used to work before
switching to systemd-boot.