X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=155dc2fa38167187cbb76c622eb6d391ed2b1b57;hb=refs%2Fheads%2Fstable-3.3-fixes;hp=e609747f2fb3f10ba2bc82e59b0c842c9f5dcf99;hpb=162409b56d936eb3082527cc608b93aa41678c3b;p=pve-qemu-kvm.git diff --git a/Makefile b/Makefile index e609747..155dc2f 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ -RELEASE=2.0 +RELEASE=3.3 # also update debian/changelog -KVMVER=1.0 -KVMPKGREL=6 +KVMVER=2.1 +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,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.3 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