[arch-dev-public] Hooks!

Christian Hesse list at eworm.de
Mon May 2 10:18:50 UTC 2016

Florian Pritz <bluewind at xinu.at> on Fri, 2016/04/29 10:49:
> On 29.04.2016 10:20, Ike Devolder wrote:
> >> How about a hook that rebuilds kernel initramfs images? Something like:
> >>   
> > It only benefits one package, so seems pointless to move it in hooks. If
> > you have custom kernels installed you must run mkinitcpio anyway for all
> > of them.  
> The current way of running mkinitcpio in the install scriptlet is
> broken. Some package that may be included in the initramfs might get
> updated after the script runs so their files in the initramfs may be the
> old versions. This has happened before and the only way to properly fix
> it is by using a hook to run the command at the very end of the update
> process. This is not pointless.

Yup, that's the point. Every kernel package shout ships its own hook.

This does not require and package rebuild, though.
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20160502/a4c47ba6/attachment.asc>

More information about the arch-dev-public mailing list