-RELEASE=3.0
+RELEASE=3.4
# also update debian/changelog
-KVMVER=1.4
-KVMPKGREL=15
+KVMVER=2.2
+KVMPKGREL=16
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
.PHONY: download
download:
rm -rf ${KVMDIR} ${KVMSRC}
-# git clone git://git.qemu-project.org/qemu.git -b master ${KVMDIR}
- git clone git://git.qemu-project.org/qemu-stable-1.4.git -b stable-1.4 ${KVMDIR}
+ 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