Re: Can I prevent Pacman from running hooks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

> On Sat, Oct 13, 2018 at 5:15 PM Doug Newgard via arch-general
> <arch-general@xxxxxxxxxxxxx> wrote:
> > On Sat, 13 Oct 2018 14:12:11 +0200
> > Tobias Hunger via arch-general <arch-general@xxxxxxxxxxxxx> 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.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux