]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Update xen-tools and hypervisor to 3.4.0 final.
authorBen Schweikert <trikolon@ipfire.org>
Sat, 25 Jul 2009 11:50:10 +0000 (11:50 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 25 Jul 2009 12:36:01 +0000 (14:36 +0200)
Additionally I included some patches, that Cpufreq
and Co_assignment are working.

lfs/xen

diff --git a/lfs/xen b/lfs/xen
index 1e68b5b5a231504df9c66a1d9e40b4bad6957cc8..943a775878846fd449c3e5191495fc6ccc0679ad 100644 (file)
--- a/lfs/xen
+++ b/lfs/xen
@@ -27,7 +27,7 @@ include Config
 VER        = 3.4.0
 
 THISAPP    = xen-$(VER)
 VER        = 3.4.0
 
 THISAPP    = xen-$(VER)
-DL_FILE    = $(THISAPP)-1.tar.gz
+DL_FILE    = $(THISAPP)-2.tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -43,7 +43,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 0a115fd5328cc7b521bbb36e7a84440b
+$(DL_FILE)_MD5 = f112adc73ba66c4cd89e4634a4d84b48
 
 install : $(TARGET)
 
 
 install : $(TARGET)
 
@@ -76,7 +76,20 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       
+       # remove this ugly co_assignment error
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/xen-co_assignment.patch
+       
+       # removes cpu freq bug. cpu stays at lowest freq
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/xen-cpufreq.patch
+       
+       # adjust config file of the daemon
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/xend-config.patch
+       
        cd $(DIR_APP) && make xen && make install-xen
        cd $(DIR_APP) && make tools && make install-tools
        cd $(DIR_APP) && make xen && make install-xen
        cd $(DIR_APP) && make tools && make install-tools
+
+       # sometimes the auto directory is not created
+       mkdir -p /etc/xen/auto
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)