On Sat, 13 Oct 2018 18:41:45 +0200
Tobias Hunger via arch-general <arch-general@archlinux.org> wrote:

> On Sat, Oct 13, 2018 at 5:15 PM Doug Newgard via arch-general
> <arch-general@archlinux.org> wrote:
> > On Sat, 13 Oct 2018 14:12:11 +0200
> > Tobias Hunger via arch-general <arch-general@archlinux.org> wrote:
> >  
> > > It would suffice to run all hooks in the leaves of the tree of systems
> > > (just before writing the actual HDD image files) and skip them for all
> > > others.  
> >
> > Again, no, it wouldn't. The hooks would not run correctly.  
> 
> What makes you say so?
> 
> I see nothing in the alpm-hooks man page that implies that this would not 
> work.
> 
> Best Regards,
> Tobias

Because, as I said earlier, hooks can and do take into account the specific
files being installed. If you install one package that needs a specific hook,
running that hook later will have the correct file list and will not run
correctly.

Reply via email to