]> git.proxmox.com Git - pve-qemu.git/blobdiff - Makefile
buildsys: fix GITVERSION
[pve-qemu.git] / Makefile
index da36a9f3ee0933dc8e16d05244174861cb75536e..b7f2c74421ef6e6b1f9db008d1fb33696d16af67 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # also update debian/changelog
-KVMVER=2.7.1
-KVMPKGREL=4
+KVMVER=2.9.1
+KVMPKGREL=3
 
 KVMPACKAGE = pve-qemu-kvm
 KVMSRC = qemu
@@ -9,7 +9,7 @@ BUILDSRC = $(KVMSRC).tmp
 SRCDIR := qemu
 
 ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-GITVERSION := $(shell git rev-parse master)
+GITVERSION := $(shell git rev-parse HEAD)
 
 DEB = ${KVMPACKAGE}_${KVMVER}-${KVMPKGREL}_${ARCH}.deb
 DEB_DBG = ${KVMPACKAGE}-dbg_${KVMVER}-${KVMPKGREL}_${ARCH}.deb
@@ -30,7 +30,6 @@ $(DEB): | submodule
        rm -rf $(BUILDSRC)
        mkdir $(BUILDSRC)
        cp -a $(KVMSRC)/* $(BUILDSRC)/
-       tar -C $(BUILDSRC) -xJf efi-roms-1182.tar.xz
        cp -a debian $(BUILDSRC)/debian
        echo "git clone git://git.proxmox.com/git/pve-qemu-kvm.git\\ngit checkout $(GITVERSION)" > $(BUILDSRC)/debian/SOURCE
        # set package version
@@ -40,7 +39,7 @@ $(DEB): | submodule
 
 .PHONY: upload
 upload: $(DEBS)
-       tar cf - $(DEBS) | ssh repoman@repo.proxmox.com upload --produce pve --dist jessie
+       tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload --product pve --dist stretch
 
 .PHONY: distclean
 distclean: clean