Gentoo Archives: gentoo-dev

From: Christopher Head <chead@×××××.ca>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: RFC: CONFIG_CHECK_FATAL, making CONFIG_CHECKS fatal by default
Date: Fri, 25 Jan 2013 19:20:06
Message-Id: 20130125111950.2b326827@ritchie.cs.ubc.ca
In Reply to: Re: [gentoo-dev] Re: RFC: CONFIG_CHECK_FATAL, making CONFIG_CHECKS fatal by default by Rich Freeman
1 On Fri, 25 Jan 2013 13:47:05 -0500
2 Rich Freeman <rich0@g.o> wrote:
3
4 > Very problematic. What is built in for the currently running kernel
5 > can be fairly reliably determined by grepping /proc/config.gz - IF
6 > support for that was enabled in the kernel. But, there is no
7 > guarantee that this kernel will be running on the next boot.
8 > Determining what is build as a module really requires interpreting the
9 > contents of /lib/modules - a module could have been built after the
10 > kernel was built, in which case /proc/config.gz might indicate no
11 > support even though it is supported. I don't think DEVTMPFS can be
12 > made a module, however (not sure on that).
13
14 Surely even that isn’t good enough, since the user could have built an
15 option as a module, tested it out, discovered it worked fine, and then
16 rebuilt the kernel with the option set to Y, but the .ko file would
17 still be left lying around?
18
19 Chris

Replies