On Fri, Jul 04, 2014 at 06:09:41PM +0200, Julian Andres Klode wrote:
> Package: dracut
> 
> gummiboot uses /etc/initramfs/post-update.d/zz-update-gummiboot to
> get notified when an initramfs is rebuilt, so it can copy it to
> the ESP (/boot/efi) for booting.
> 
> dracut does not support these hooks.

I think the easiest way forward here it to simply run the initramfs
scripts at the end of /etc/kernel/postinst.d/dracut, like this:

for script in /etc/initramfs/post-update.d/*; do 
        if [ -x $script ]; then 
                $script "$@"
        fi
done


I currently divert the dracut script and replace it with my own to
be able to run stuff after an automatic dracut run in sicherboot,
that's kind of ugly.

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.

Reply via email to