]> git.proxmox.com Git - pve-container.git/blobdiff - Makefile
add missing 'mounted' as lock type for containers
[pve-container.git] / Makefile
index 9ba52808709cc31e6eae3f1a4e9b5192be9c87c8..ae709ffc1661a41ca629245449e6cf1762651bc9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 VERSION=2.0
 PACKAGE=pve-container
-PKGREL=12
+PKGREL=26
 
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(shell git rev-parse HEAD)
 
 ARCH:=all
 
@@ -22,7 +22,7 @@ ${DEB}:
        rsync -a src/ build
        rsync -a debian/ build/debian
        echo "git clone git://git.proxmox.com/git/pve-container\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
-       cd build; dpkg-buildpackage -rfakeroot -b -us -uc
+       cd build; dpkg-buildpackage -b -us -uc
        lintian ${DEB}
 
 .PHONY: clean