Bug#739464: Include dracut update trigger

Michael Biebl biebl at debian.org
Sun Aug 30 15:15:52 BST 2015


Am 28.06.2014 um 11:54 schrieb Thomas Lange:
>>>>>> On Sat, 28 Jun 2014 03:15:32 +0200, Michael Biebl <biebl at debian.org> said:
> 
>     > does dracut provide any dpkg trigger which we could use in systemd to
>     > force an update of the initramfs when systemd is installed/updated?
> Not yet. 
> 
>     > Is there anything we can do to improve integration of systemd and dracut
>     > from our side?
> You could contact the Debian kernel team and ask what they suggest for
> updating the initrd. Should dracut include the triggers, or whould
> every package that put something into the initrd include a trigger.

I think dracut should provide a dpkg trigger, which individual packages,
like systemd, mdadm, lvm2 etc can trigger upon (de)installation, to make
sure the initramfs is up-to-date.


When we talked about dracut being triggered by initramfs-tools via a
file trigger based on /usr/share/initramf-tools hooks, you didn't like
this idea and you want individual packages to trigger the update
explicitly [1].


/usr/share/doc/dpkg-dev/triggers.txt.gz has some documentation about
explicit triggers. Would be great if you can add trigger support to dracut.


Michael


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720081#10
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150830/ebe030ef/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list