[pacman-dev] [PATCH v4] libalpm: Add support for trigger dropins

Giancarlo Razzolini grazzolini at archlinux.org
Mon Aug 24 11:18:07 UTC 2020


Em agosto 23, 2020 22:22 Allan McRae escreveu:
> Lets take a step back here...
> 
> I don't really care about the kernel use case, but more whether this
> could be more generally used.   Here are other examples I came up with.
> 
> Font caches:
> A package could drop a config file in /etc/font/conf.d/ to add another
> directory that is to be used when building font caches.  They would also
> want to add a .trigger file for the hook.
> 
> OK...  I just came up with one other example!  But I did not look too
> hard at what hooks on my system actually do.
> 
> 
> Back to the question of whether we support this.  A quick skim of the
> patch shows me it is quite long, but relatively simple.  (it seems to be
> doing more than just adding .trigger support - also adding drop in
> directories - and this seems two patches to me...)
> 
> So, I am leaning in the direction of this being a useful addition.
> 
> Further discussion of the usefulness should not focus around the kernel
> approach, but rather the general idea of the feature.
> 

Without getting much into the kernel stuff, I also think this is a good addition
for pacman. I think that, the discussion regarding the kernel stuff could go into
arch-general though. I'd be happy to revisit the whole kernel-install discussion too.

Regards,
Giancarlo Razzolini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20200824/6947b71a/attachment-0001.sig>


More information about the pacman-dev mailing list