Date: Sun, 13 Dec 2009 19:28:10 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Robert Watson <rwatson@FreeBSD.org> Cc: Alex Keda <admin@lissyara.su>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: May be include in GENERIC option INCLUDE_CONFIG_FILE? Message-ID: <4B25B0CA.1070006@FreeBSD.org> In-Reply-To: <alpine.BSF.2.00.0912122342110.61723@fledge.watson.org> References: <4B23F10F.1010608@lissyara.su> <4B23FBA1.4070002@FreeBSD.org> <alpine.BSF.2.00.0912122342110.61723@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B25B0CA.1070006>