[arch-dev-public] Hooks!
Ike Devolder
ike.devolder at gmail.com
Fri Apr 29 12:55:45 UTC 2016
On Fri, Apr 29, 2016 at 10:49:06AM +0200, Florian Pritz wrote:
> 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.
>
> Florian
>
>
You are correct. So every kernel package must provide it's own hook just
like every kernel package now has this in its install.
--
Ike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20160429/b5ad5db3/attachment.asc>
More information about the arch-dev-public
mailing list