-RELEASE=4.1
+RELEASE=4.2
# also update debian/changelog
-KVMVER=2.5
-KVMPKGREL=7
+KVMVER=2.6.1
+KVMPKGREL=3
KVMPACKAGE=pve-qemu-kvm
KVMDIR=qemu-kvm
KVMSRC=${KVMDIR}-src.tar.gz
ARCH=amd64
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(shell git rev-parse master)
DEBS= \
${KVMPACKAGE}-dbg_${KVMVER}-${KVMPKGREL}_${ARCH}.deb \
.PHONY: download
download:
rm -rf ${KVMDIR} ${KVMSRC}
- #git clone git://git.qemu-project.org/qemu.git -b stable-2.4 ${KVMDIR}
- git clone git://git.qemu-project.org/qemu.git ${KVMDIR}
- # see https://bugs.launchpad.net/qemu/+bug/1488363?comments=all
- cd ${KVMDIR}; git checkout v2.5.0; git revert --no-edit b8eb5512fd8a115f164edbbe897cdf8884920ccb
+ git clone --depth=1 git://git.qemu-project.org/qemu.git -b v${KVMVER} ${KVMDIR}
tar czf ${KVMSRC} --exclude CVS --exclude .git --exclude .svn ${KVMDIR}
-${DEBS} kvm: ${KVMSRC}
+.PHONY: deb
+deb ${DEBS} kvm: ${KVMSRC}
+ rm -f *.deb
rm -rf ${KVMDIR}
tar xf ${KVMSRC}
cp -a debian ${KVMDIR}/debian