X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=622056a147cb2e1971d86bb98e3f56ae20f197c0;hb=232613686d2d3ddc2dea1ed9d4eb59ddbbb982b8;hp=5f7f8e44a8e6ea3247929037ed211c4d97e366f9;hpb=90f4e943d2149beb17e05d1198ed2b3b588cdb4b;p=pve-qemu-kvm.git diff --git a/Makefile b/Makefile index 5f7f8e4..622056a 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ -RELEASE=2.3 +RELEASE=3.3 # also update debian/changelog -KVMVER=1.4 -KVMPKGREL=2 +KVMVER=2.2 +KVMPKGREL=1 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.qemu-project.org/qemu.git -b master ${KVMDIR} - #cd ${KVMDIR}; git checkout -b local v1.4.0rc2 + #git clone git://git.qemu-project.org/qemu.git -b stable-2.1 ${KVMDIR} + git clone git://git.qemu-project.org/qemu.git ${KVMDIR} + cd ${KVMDIR}; git checkout v2.2.0-rc2 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