X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=05d46ac004ed93a2964eba341b575e4fc9adcc63;hb=adc46abef0b2d3621a83b9affa784b928a7ef2b3;hp=ec8c8c3ee61ba08a0e7bb0f395538ecc97ba1716;hpb=8691ed5a0947a9da59a02440206df3344ddfc2b7;p=pve-qemu-kvm.git diff --git a/Makefile b/Makefile index ec8c8c3..05d46ac 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ -RELEASE=2.1 +RELEASE=3.4 # also update debian/changelog -KVMVER=1.1 -KVMPKGREL=5 +KVMVER=2.2 +KVMPKGREL=13 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,15 +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 stable-1.1 ${KVMDIR} - # fixme checkout correct version - # cd ${KVMDIR}; git checkout -b local qemu-kvm-${KVMVER} + 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