Thomas Lange <la...@informatik.uni-koeln.de> wrote: > I think the proper way is to add a dracut trigger to all packages > that may add some stuff to initrd whether this is generated by > initramfs-tools or dracut.
How would such a trigger look like? The default "dracut" command without arguments won't work, because that creates an initramfs image with the wrong file name (initramfs-* instead of initrd.img-*). There is code in /etc/kernel/postinst.d/dracut to use the correct name but that code is for one initramfs image only, and gets the kernel version to build "for free" as arguments to itself. Initramfs-tools had the option "-k all" to rebuild all existing initramfs images. What would be the corresponding command for dracut? I.e. what would such a dracut trigger that you mention look like? /Teddy Hogeborn -- The Mandos Project http://www.recompile.se/mandos