]> git.proxmox.com Git - pve-qemu-kvm.git/blobdiff - Makefile
changed OVMF bios file permissions to 0644
[pve-qemu-kvm.git] / Makefile
index 92d28a4f614e919e87b334d02e08b7a4129715e8..568b45840c3105d798ef9e993cde6b6d8b8c648c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=4.0
 
 # also update debian/changelog
 KVMVER=2.4
-KVMPKGREL=5
+KVMPKGREL=14
 
 KVMPACKAGE=pve-qemu-kvm
 KVMDIR=qemu-kvm
@@ -21,9 +21,10 @@ all: ${DEBS}
 .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.4.1; git revert --no-edit b8eb5512fd8a115f164edbbe897cdf8884920ccb
        tar czf ${KVMSRC} --exclude CVS --exclude .git --exclude .svn ${KVMDIR}
 
 ${DEBS} kvm: ${KVMSRC}
@@ -31,6 +32,8 @@ ${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