[arch-dev-public] [PATCH 1/1] move initramfs generation from install script to pacman hook
Sébastien Luttringer
seblu at seblu.net
Wed May 18 23:20:56 UTC 2016
On mer., 2016-05-18 at 13:55 +0200, Christian Hesse wrote:
> From: Christian Hesse <mail at eworm.de>
>
> # add vmlinux
> install -D -m644 vmlinux
> "${pkgdir}/usr/lib/modules/${_kernver}/build/vmlinux"
> +
> + # install pacman hook
> + install -D -m644 "${srcdir}/linux-initramfs.hook"
> "${pkgdir}/usr/share/libalpm/hooks/linux-initramfs.hook"
> }
>
Hello,
I didn't pay much attention to this, but except dkms, hooks are not ordered.
Could we use a prefix convention to order our hooks? It's usefull to build
modules before building initramfs and eventually run grub update at the end.
Something like:
50-XXX.hook - order doesn't matter
70-dkms.hook - ootm modules build
80-initramfs.hook - initramfs inclusion.
Cheers,
--
Sébastien "Seblu" Luttringer
https://seblu.net | Twitter: @seblu42
GPG: 0x2072D77A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20160519/60feb9b5/attachment.asc>
More information about the arch-dev-public
mailing list