[arch-dev-public] [PATCH] Implement a hook-system that allows to add custom code to the initscripts at certain places

Aaron Griffin aaronmgriffin at gmail.com
Tue Aug 25 11:50:17 EDT 2009


On Tue, Aug 25, 2009 at 10:38 AM, Thomas Bächler<thomas at archlinux.org> wrote:
> Aaron Griffin schrieb:
>>
>> I read through this, and was a little bit hesitant on this functionality.
>>
>> But then I gave in. Something about it feels weird to me, but if we
>> just get it in there, it can be improved incrementally.
>
> What exactly feels weird? It's the best solution I could come up with that
> a) doesn't add any new stuff (like new directories, files, concepts, we just
> use functions.d)
> b) works when multiple packages want to plug into the same hook

Oh no, I agree. It's a good implementation of the concept. We've been
slinging this one around for some time.

Still, my Spidey Sense is tingling a bit. I *think* it might be due to
the free-form names, but I'm not sure. Like I said, if I figure it out
later, we can always tweak things


More information about the arch-dev-public mailing list