On mer., 2016-05-18 at 13:55 +0200, Christian Hesse wrote:
> From: Christian Hesse <[email protected]>
> 
>    # 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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to