Gentoo Archives: gentoo-dev

From: "Diego Elio Pettenò" <flameeyes@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Kernel config checks in simple packages (not kernel modules)
Date: Tue, 26 Jul 2011 21:27:26
Message-Id: 1311715618.17784.38.camel@raven.home.flameeyes.eu
In Reply to: [gentoo-dev] Kernel config checks in simple packages (not kernel modules) by "Michał Górny"
1 Sorry for not answering on the bug, but I'm a bit overwhelmed by work
2 right now, so I saw your question and then forgot to get back at it :/
3
4 Il giorno mar, 26/07/2011 alle 23.08 +0200, Michał Górny ha scritto:
5 > Should it just use '~' and warn then? Or should it re-do the checks
6 > in pkg_preinst(), this time making the checks fatal? Or maybe it
7 > should
8 > only perform them there?
9
10 My personal preference is keeping them ~. The reason is that you might
11 be merging them on a chroot for a system that runs a different kernel,
12 or a series of different kernels... in general it seems sane to me not
13 to stop any kind of build just because the kernel is not (yet)
14 configured properly.
15
16 --
17 Diego Elio Pettenò — Flameeyes
18 http://blog.flameeyes.eu/