* [PATCH] Specify the dom0 config file
@ 2008-10-08 14:10 Jean Guyader
0 siblings, 0 replies; only message in thread
From: Jean Guyader @ 2008-10-08 14:10 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
Hi,
Here a small patch to use a given dom0 config file for the dom0 kernel
compilation. The env variable XEN_LINUX_CONFIG is used to specify this
file.
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
Cheers,
--
Jean Guyader
[-- Attachment #2: use_specified_dom0_config_file.patch --]
[-- Type: text/plain, Size: 899 bytes --]
diff -r 78e98657021a buildconfigs/mk.linux-2.6-common
--- a/buildconfigs/mk.linux-2.6-common Fri Oct 03 09:42:11 2008 +0100
+++ b/buildconfigs/mk.linux-2.6-common Wed Oct 08 15:10:30 2008 +0100
@@ -75,7 +75,9 @@
# tree. Finally attempt to use make defconfig.
set -e ; \
CONFIG_VERSION=$$(sed -ne 's/$$(XENGUEST)//; s/^EXTRAVERSION = //p' $(LINUX_SRCDIR)/Makefile); \
- if [ -r $(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) ] ; then \
+ if [ ! -z "$(XEN_LINUX_CONFIG)" -a -r $(XEN_LINUX_CONFIG) ]; then \
+ cp $(XEN_LINUX_CONFIG) $(CONFIG_FILE); \
+ elif [ -r $(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) ] ; then \
cp $(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) $(CONFIG_FILE) ; \
elif [ -e $(LINUX_SRCDIR)/buildconfigs/create_config.sh ] ; then \
cd $(LINUX_SRCDIR) && sh buildconfigs/create_config.sh \
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-08 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08 14:10 [PATCH] Specify the dom0 config file Jean Guyader
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.