1 |
Hello, |
2 |
|
3 |
As Diego pointed out in bug #374807 [1], a simple package (not a kernel |
4 |
module) should not enforce any kernel options during the build process. |
5 |
As of no reply on the bug, I'm posting my question here. |
6 |
|
7 |
Should it just use '~' and warn then? Or should it re-do the checks |
8 |
in pkg_preinst(), this time making the checks fatal? Or maybe it should |
9 |
only perform them there? |
10 |
|
11 |
Also, I think I've seen ebuilds doing kernel checks in pkg_pretend(). I |
12 |
did that once too but now I think that's wrong because kernel sources |
13 |
are not guaranteed to be installed at that point. I am right? |
14 |
|
15 |
[1]:http://bugs.gentoo.org/show_bug.cgi?id=374807 |
16 |
|
17 |
-- |
18 |
Best regards, |
19 |
Michał Górny |