VER = 3.4.0
THISAPP = xen-$(VER)
-DL_FILE = $(THISAPP).tar.gz
+DL_FILE = $(THISAPP)-2.tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = e8c908d0387269d905a673d29b703f1d
+$(DL_FILE)_MD5 = f112adc73ba66c4cd89e4634a4d84b48
install : $(TARGET)
$(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
+
+ # sometimes the auto directory is not created
+ mkdir -p /etc/xen/auto
@rm -rf $(DIR_APP)
@$(POSTBUILD)