Sébastien Luttringer <[email protected]> on Thu, 2016/05/19 01:20: > 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.
+1 from me. I was about to suggest the same.
Actually we have zz-etckeeper-post-install.hook for package etckeeper to make
it run last and catch all changes in /etc... A numeric prefix would be very
useful.
--
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);}
pgppiUaTVWo4d.pgp
Description: OpenPGP digital signature

