From: devzero@web.de
To: linux-kernel@vger.kernel.org
Cc: agruen@suse.de
Subject: make cloneconfig ?
Date: Thu, 24 Apr 2008 00:37:12 +0200 [thread overview]
Message-ID: <251459002@web.de> (raw)
any reason why "make cloneconfig" never made it into mainline?
many people are quite used to it and every time i build vanilla kernel i step into that trap "oh - that`s a suse`ism"
make cloneconfig exists since /proc/config.gz - but while that one went into mainline, cloneconfig never did.
anyone know the reason for that ?
i wished, distros kernels were more similar to vanilla kernels - so what about making them more similar ?
http://marc.info/?l=linux-kernel&m=93250171620331&w=2
List: linux-kernel
Subject: [patch] config.gz and make cloneconfig
From: Oliver Xymoron <oxymoron () waste ! org>
Date: 1999-07-20 20:03:45
[Download message RAW]
Please consider the following patch against 2.3.10 which adds a config
option to store the kernel configuration in the kernel image and make it
available as a file in /proc. It also adds 'make cloneconfig' which will
duplicate your running kernel configuration.
Also worth noting is scripts/bin2c, which is meant to replace the poorly
named and poorly located bin2hex programs that are in various places.
diff -urN linux/Documentation/Configure.help linux-cfg/Documentation/Configure.help
--- linux/Documentation/Configure.help Mon Jul 5 22:37:25 1999
+++ linux-cfg/Documentation/Configure.help Tue Jul 20 13:35:21 1999
@@ -7464,6 +7464,14 @@
This option will enlarge your kernel by about 18 KB. Several
programs depend on this, so everyone should say Y here.
+/proc/config.gz support
+CONFIG_PROC_CONFIG
+ Say Y here if you want a copy of your current kernel configuration
+ saved in the kernel that you build. This is extremely useful if you
+ ever build more than one kernel. The cost is around 1K-4K of running
+ memory. Only say no if you really can't spare this. You can sneeze
+ and lose more on memory than this.
+
NFS filesystem support
CONFIG_NFS_FS
If you are connected to some other (usually local) Unix computer
diff -urN linux/Documentation/patches/cfg linux-cfg/Documentation/patches/cfg
--- linux/Documentation/patches/cfg Wed Dec 31 18:00:00 1969
+++ linux-cfg/Documentation/patches/cfg Tue Jul 20 14:26:27 1999
@@ -0,0 +1,10 @@
+This patch adds /proc/config.gz and make cloneconfig
+
+Oliver Xymoron <oxymoron@waste.org>
+
+Jan 15 1999 - original 2.0.0-pre version
+Jul 20 1999 - updated to 2.3.10
+
+Derived from a patch by Nicholas Leon <nicholas@binary9.net> with
+suggestions from Michael Chastain <mec@shout.net> and Peter T. Breuer
+<ptb@it.uc3m.es>
diff -urN linux/Makefile linux-cfg/Makefile
--- linux/Makefile Thu Jul 1 12:54:31 1999
+++ linux-cfg/Makefile Tue Jul 20 14:22:52 1999
@@ -243,6 +243,15 @@
config: symlinks
$(CONFIG_SHELL) scripts/Configure arch/$(ARCH)/config.in
+cloneconfig: symlinks
+ @if [ -f "/proc/config.gz" ]; then \
+ mv -f .config .config.bak; \
+ gzip -d < /proc/config.gz > .config; \
+ $(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in; \
+ else \
+ echo "Sorry, your current kernel was built without cloning support."; \
+ fi
+
_______________________________________________________________
Schon gehört? Der neue WEB.DE MultiMessenger kann`s mit allen:
http://www.produkte.web.de/messenger/?did=3016
next reply other threads:[~2008-04-23 22:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 22:37 devzero [this message]
2008-04-23 22:43 ` make cloneconfig ? Jesper Juhl
2008-04-24 7:31 ` Jan Engelhardt
-- strict thread matches above, loose matches on Subject: below --
2008-04-24 7:00 devzero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=251459002@web.de \
--to=devzero@web.de \
--cc=agruen@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.