X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=721b65b558e83a01cdf917b2e95671d697d0f3d2;hb=f256ce04b962f38c987e301702df943968f522de;hp=b8036648805137c49c0057e4977e1a309b26c2b2;hpb=e9ed1087bf368d0437644e0c8d85cdd931500b61;p=pve-qemu-kvm.git diff --git a/Makefile b/Makefile index b803664..721b65b 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ -RELEASE=2.2 +RELEASE=3.4 # also update debian/changelog -KVMVER=1.2 -KVMPKGREL=5 +KVMVER=2.2 +KVMPKGREL=25 KVMPACKAGE=pve-qemu-kvm 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.kernel.org/pub/scm/virt/kvm/qemu-kvm.git -b master ${KVMDIR} - #git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git -b stable-1.1 ${KVMDIR} + git clone git://git.qemu-project.org/qemu.git -b stable-2.2 ${KVMDIR} + #git clone git://git.qemu-project.org/qemu.git ${KVMDIR} + cd ${KVMDIR}; git checkout v2.2.1 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