X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=d62446d460fc5487365fba7269bc00bfa9009324;hb=fc21d35d28a28c14d8d4fd9475318ba1b2f4fc6e;hp=f853cf48089d8101c2d4f5d9e38ac5d49f779743;hpb=b49298c67893125996be0c3c821fe6fc80b6e7ab;p=pve-qemu-kvm.git diff --git a/Makefile b/Makefile index f853cf4..d62446d 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ -RELEASE=2.1 +RELEASE=3.4 # also update debian/changelog -KVMVER=1.1 -KVMPKGREL=6 +KVMVER=2.2 +KVMPKGREL=12 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