-RELEASE=4.0
+RELEASE=4.1
# also update debian/changelog
-KVMVER=2.4
-KVMPKGREL=5
+KVMVER=2.5
+KVMPKGREL=13
KVMPACKAGE=pve-qemu-kvm
KVMDIR=qemu-kvm
.PHONY: download
download:
rm -rf ${KVMDIR} ${KVMSRC}
- #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.4.0; git revert --no-edit b8eb5512fd8a115f164edbbe897cdf8884920ccb
+ #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.1; git revert --no-edit b8eb5512fd8a115f164edbbe897cdf8884920ccb
tar czf ${KVMSRC} --exclude CVS --exclude .git --exclude .svn ${KVMDIR}
${DEBS} kvm: ${KVMSRC}
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
+ # set package version
+ sed -i 's/^pkgversion="".*/pkgversion="${KVMPACKAGE}_${KVMVER}-${KVMPKGREL}"/' ${KVMDIR}/configure
cd ${KVMDIR}; dpkg-buildpackage -b -rfakeroot -us -uc
lintian ${DEBS} || true