From: Jean Guyader <jean.guyader@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] Specify the dom0 config file
Date: Wed, 08 Oct 2008 15:10:46 +0100 [thread overview]
Message-ID: <48ECBF66.6040008@eu.citrix.com> (raw)
[-- 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
reply other threads:[~2008-10-08 14:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=48ECBF66.6040008@eu.citrix.com \
--to=jean.guyader@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.