[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Allow to specify Linux kernel config file



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1223543141 -3600
# Node ID 205b837b6138df6ab98416ad7f46ea75755b766f
# Parent  e66cecb66b1ed83b65804d2eb7c3a30f9f1f01d4
Allow to specify Linux kernel config file

The env variable XEN_LINUX_CONFIG is used to specify this
file.

Signed-off-by: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
---
 buildconfigs/mk.linux-2.6-common |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r e66cecb66b1e -r 205b837b6138 buildconfigs/mk.linux-2.6-common
--- a/buildconfigs/mk.linux-2.6-common  Wed Oct 08 14:00:58 2008 +0100
+++ b/buildconfigs/mk.linux-2.6-common  Thu Oct 09 10:05:41 2008 +0100
@@ -75,7 +75,9 @@ endif
        # 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 \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.