[arch-general] Can I prevent Pacman from running hooks?
Doug Newgard
scimmia at archlinux.org
Sat Oct 13 16:49:53 UTC 2018
On Sat, 13 Oct 2018 11:44:37 -0500
Doug Newgard via arch-general <arch-general at archlinux.org> wrote:
> On Sat, 13 Oct 2018 18:41:45 +0200
> Tobias Hunger via arch-general <arch-general at archlinux.org> wrote:
>
> > On Sat, Oct 13, 2018 at 5:15 PM Doug Newgard via arch-general
> > <arch-general at archlinux.org> wrote:
> > > On Sat, 13 Oct 2018 14:12:11 +0200
> > > Tobias Hunger via arch-general <arch-general at 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.
That should read "will not have the correct file list"
More information about the arch-general
mailing list