Hello,

As Diego pointed out in bug #374807 [1], a simple package (not a kernel
module) should not enforce any kernel options during the build process.
As of no reply on the bug, I'm posting my question here.

Should it just use '~' and warn then? Or should it re-do the checks
in pkg_preinst(), this time making the checks fatal? Or maybe it should
only perform them there?

Also, I think I've seen ebuilds doing kernel checks in pkg_pretend(). I
did that once too but now I think that's wrong because kernel sources
are not guaranteed to be installed at that point. I am right?

[1]:http://bugs.gentoo.org/show_bug.cgi?id=374807

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to