From owner-freebsd-current@FreeBSD.ORG Mon Dec 14 03:28:04 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA4891065692 for ; Mon, 14 Dec 2009 03:28:04 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8F1CB8FC18 for ; Mon, 14 Dec 2009 03:28:04 +0000 (UTC) Received: (qmail 15187 invoked by uid 399); 14 Dec 2009 03:28:03 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 14 Dec 2009 03:28:03 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B25B0CA.1070006@FreeBSD.org> Date: Sun, 13 Dec 2009 19:28:10 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Robert Watson References: <4B23F10F.1010608@lissyara.su> <4B23FBA1.4070002@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: multipart/mixed; boundary="------------050006080001020009090704" Cc: Alex Keda , freebsd-current Subject: Re: May be include in GENERIC option INCLUDE_CONFIG_FILE? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 03:28:05 -0000 This is a multi-part message in MIME format. --------------050006080001020009090704 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Robert Watson wrote: > > On Sat, 12 Dec 2009, Doug Barton wrote: > >> Alex Keda wrote: >>> For those who have recently engaged in FreeBSD, and inexperienced >>> managers who have inherited a server "by inheritance" is often the >>> question arises - where to find the configuration file in which to >>> compile your kernel? (Of course, a file by that time there =)) >> >> I actually thought that was already done, but I see now that it's not. >> I would like to see this as well, any objections? > > I'd say go for it. Ok, here is the proposed patch. I'll commit it tomorrow unless someone objects. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ --------------050006080001020009090704 Content-Type: text/plain; name="include-config-file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="include-config-file.diff" Index: powerpc/conf/GENERIC =================================================================== --- powerpc/conf/GENERIC (revision 200500) +++ powerpc/conf/GENERIC (working copy) @@ -24,6 +24,13 @@ #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" +# Store the plain version of this configuration file in the kernel itself. +# To store the entire file, including comments, put this in /etc/src.conf: +# CONFIGARGS= -C +# See config(8) for more details. +# +options INCLUDE_CONFIG_FILE # Include this file in kernel + makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols # Platform support Index: sparc64/conf/GENERIC =================================================================== --- sparc64/conf/GENERIC (revision 200500) +++ sparc64/conf/GENERIC (working copy) @@ -30,6 +30,13 @@ # # env "GENERIC.env" +# Store the plain version of this configuration file in the kernel itself. +# To store the entire file, including comments, put this in /etc/src.conf: +# CONFIGARGS= -C +# See config(8) for more details. +# +options INCLUDE_CONFIG_FILE # Include this file in kernel + makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols # Platforms supported Index: ia64/conf/GENERIC =================================================================== --- ia64/conf/GENERIC (revision 200500) +++ ia64/conf/GENERIC (working copy) @@ -23,6 +23,13 @@ cpu ITANIUM ident GENERIC +# Store the plain version of this configuration file in the kernel itself. +# To store the entire file, including comments, put this in /etc/src.conf: +# CONFIGARGS= -C +# See config(8) for more details. +# +options INCLUDE_CONFIG_FILE # Include this file in kernel + makeoptions DEBUG=-g # Build kernel with debug information. options AUDIT # Security event auditing Index: sun4v/conf/GENERIC =================================================================== --- sun4v/conf/GENERIC (revision 200500) +++ sun4v/conf/GENERIC (working copy) @@ -23,6 +23,13 @@ cpu SUN4V ident GENERIC +# Store the plain version of this configuration file in the kernel itself. +# To store the entire file, including comments, put this in /etc/src.conf: +# CONFIGARGS= -C +# See config(8) for more details. +# +options INCLUDE_CONFIG_FILE # Include this file in kernel + makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols makeoptions NO_MODULES="" # disable modules (aicasm in buildenv) Index: pc98/conf/GENERIC =================================================================== --- pc98/conf/GENERIC (revision 200500) +++ pc98/conf/GENERIC (working copy) @@ -32,6 +32,13 @@ # # env "GENERIC.env" +# Store the plain version of this configuration file in the kernel itself. +# To store the entire file, including comments, put this in /etc/src.conf: +# CONFIGARGS= -C +# See config(8) for more details. +# +options INCLUDE_CONFIG_FILE # Include this file in kernel + makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler Index: i386/conf/GENERIC =================================================================== --- i386/conf/GENERIC (revision 200500) +++ i386/conf/GENERIC (working copy) @@ -32,6 +32,13 @@ # # env "GENERIC.env" +# Store the plain version of this configuration file in the kernel itself. +# To store the entire file, including comments, put this in /etc/src.conf: +# CONFIGARGS= -C +# See config(8) for more details. +# +options INCLUDE_CONFIG_FILE # Include this file in kernel + makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler Index: amd64/conf/GENERIC =================================================================== --- amd64/conf/GENERIC (revision 200500) +++ amd64/conf/GENERIC (working copy) @@ -30,6 +30,13 @@ # # env "GENERIC.env" +# Store the plain version of this configuration file in the kernel itself. +# To store the entire file, including comments, put this in /etc/src.conf: +# CONFIGARGS= -C +# See config(8) for more details. +# +options INCLUDE_CONFIG_FILE # Include this file in kernel + makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler --------------050006080001020009090704--