-
-
Notifications
You must be signed in to change notification settings - Fork 13
Add support for /etc/eclean-kernel/hook.d hooks #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
23fe0b5 to
a4b2762
Compare
|
One last idea — let's rename |
ATM, the last one is what I like the most. But I have no strong opinion here. Let me know what you think. |
|
Went with |
Signed-off-by: Florian Schmaus <flow@gentoo.org>
|
Went with |
|
@mgorny friendly ping :) |
|
I'm sorry, I need to think about the name a little more. I really want it to be "obvious" when it runs, and how many times, and in what circumstances. |
|
@mgorny friendly ping |
|
I'm sorry but I can't think of a really good way of doing this right at the moment. How about if I added a machine-readable output mode that you could use with |
|
That feels like an unnecessary complication. I am not sure what the advantage would be, while it would mean to loose the direct hook capability (incl. having multiple hooks). I like the current design. I am also not sure if I understand the concerns you have with the current approach. But would having an environment variable, e.g., 1: Note that for my use case, this information is not required. |
|
Unnecessary complication is adding semi-generic hook support with one kind of hooks that's designed ad-hoc to implement a hack to add unsupported functionality without clear design how to go from there, how to make hooks that are actually useful and quite good probability that extending hook support will require rewriting the hook running code to support different kinds of hooks and different behavior (per-kernel hooks, feedback). |
No description provided.