Date: Mon, 26 Mar 2007 17:10:16 +0000 From: "Wojciech A. Koszek" <wkoszek@FreeBSD.ORG> To: freebsd-current@FreeBSD.ORG Subject: Re: Improved INCLUDE_CONFIG_FILE Message-ID: <20070326171016.GA16746@FreeBSD.czest.pl> In-Reply-To: <200703261347.l2QDl6rM021066@lurza.secnetix.de> References: <20070324135333.GA86105@FreeBSD.czest.pl> <200703261347.l2QDl6rM021066@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 26, 2007 at 03:47:06PM +0200, Oliver Fromme wrote: > Wojciech A. Koszek wrote: > > Alex Kozlov wrote: > > > Wojciech A. Koszek wrote: > > > > Current implementation of INCLUDE_CONFIG_FILE option has number of > > > > issues. Including it in MAC or SMP configurations will bring only text > > > > of this single file into the kernel file. We're not able to see > > > > configuration of running ("live") kernel, which could be helpful while > > > > tracking users' reports. You can't get easy to use file format, ready > > > > for configuration process. > > > > > > > > In my Perforce wkoszek_kconftxt branch: > > > > > > > > //depot/user/wkoszek/wkoszek_kconftxt/... > > > > > > > > I brought some modifications to existing config(8) and added system > > > > interface that would let us to see configuration of running kernel > > > > (currently -- via kern.conftxt sysctl), as well as other kernel file > > > > through config(8)'s -k option. > > > > > > By the way, any plan to include INCLUDE_CONFIG_FILE in GENERIC? > > > > I'd like to have this enabled by default, and I know there should be no > > strong objections. > > No objection from me, but please fix it so include files > are also included in the kernel. > > Many of my kernel config files have only few lines (e.g. > "options SMP" and "include MYKERNEL"). Currently, the > INCLUDE_CONFIG_FILE feature only includes those two lines, > rendering that feature useless (and even potentially > dangerous if someone relies on his config to be in the > kernel). You'll get full configuration file, no matter what you include. After redirecting it to file, you'll be able to compile the kernel with no additional modifications. -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070326171016.GA16746>