Re: May be include in GENERIC option INCLUDE_CONFIG_FILE?

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Sun, 13 Dec 2009 19:28:10 -0800
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/


Index: powerpc/conf/GENERIC
===================================================================
--- powerpc/conf/GENERIC	(revision 200500)
+++ powerpc/conf/GENERIC	(working copy)
_at__at_ -24,6 +24,13 _at__at_
 #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)
_at__at_ -30,6 +30,13 _at__at_
 #
 # 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)
_at__at_ -23,6 +23,13 _at__at_
 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)
_at__at_ -23,6 +23,13 _at__at_
 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)
_at__at_ -32,6 +32,13 _at__at_
 #
 # 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)
_at__at_ -32,6 +32,13 _at__at_
 #
 # 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)
_at__at_ -30,6 +30,13 _at__at_
 #
 # 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
Received on Mon Dec 14 2009 - 02:28:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC