X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=7bf7eea4827c6990b92453293af612894b61e950;hb=876a4af07d924ed34bf33a05dac8653352f5dea9;hp=2dd08f2f38e28b1a3672e5db18b18b0ae04dcdcd;hpb=273c0516bf20cffb2117ce7ef48901878203b23d;p=pve-qemu-kvm.git diff --git a/Makefile b/Makefile index 2dd08f2..7bf7eea 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ -RELEASE=2.0 +RELEASE=3.2 # also update debian/changelog -KVMVER=1.0 -KVMPKGREL=4 +KVMVER=2.1 +KVMPKGREL=6 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,16 +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 ${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.1 ${KVMDIR} + cd ${KVMDIR}; git checkout v2.1.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 - cd ${KVMDIR}; dpkg-buildpackage -rfakeroot -us -uc + 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 .PHONY: upload