]> git.proxmox.com Git - pve-qemu-kvm.git/blobdiff - Makefile
backup: remove async queue (avoid segmentation fault)
[pve-qemu-kvm.git] / Makefile
index 434c90273cd1fd45df08fbe32becbbb6299b641c..40aed3f8b8c7228e1ceeda4755e89370f2751fdf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-RELEASE=2.3
+RELEASE=3.2
 
 # also update debian/changelog
-KVMVER=1.4
+KVMVER=1.7
 KVMPKGREL=5
 
 KVMPACKAGE=pve-qemu-kvm
@@ -9,6 +9,7 @@ KVMDIR=qemu-kvm
 KVMSRC=${KVMDIR}-src.tar.gz
 
 ARCH=amd64
+GITVERSION:=$(shell cat .git/refs/heads/master)
 
 KVM_DEB=${KVMPACKAGE}_${KVMVER}-${KVMPKGREL}_${ARCH}.deb
 
@@ -17,14 +18,16 @@ all: ${KVM_DEB} ${KVMSRC}
 .PHONY: download
 download:
        rm -rf ${KVMDIR} ${KVMSRC}
-       git clone git://git.qemu-project.org/qemu.git -b master ${KVMDIR} 
-       cd ${KVMDIR}; git checkout -b local v1.4.0
+       git clone git://git.qemu-project.org/qemu.git -b stable-1.7 ${KVMDIR} 
+#      cd ${KVMDIR}; git checkout v1.7.0 
+#      git clone git://git.qemu-project.org/qemu-stable-1.7.git -b stable-1.7 ${KVMDIR}
        tar czf ${KVMSRC} --exclude CVS --exclude .git --exclude .svn ${KVMDIR}
 
 ${KVM_DEB} kvm: ${KVMSRC}
        rm -rf ${KVMDIR}
        tar xf ${KVMSRC} 
        cp -a debian ${KVMDIR}/debian
+       echo "git clone git://git.proxmox.com/git/pve-qemu-kvm.git\\ngit checkout ${GITVERSION}" > ${KVMDIR}/debian/SOURCE
        cd ${KVMDIR}; dpkg-buildpackage -b -rfakeroot -us -uc
        lintian ${KVM_DEB} || true