]> git.proxmox.com Git - pve-container.git/blobdiff - Makefile
fix #1874: autodev hook: setup devices cgroup
[pve-container.git] / Makefile
index ef437e22df74258cc281e4501a488eee69c161ce..ae709ffc1661a41ca629245449e6cf1762651bc9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 VERSION=2.0
 PACKAGE=pve-container
-PKGREL=7
+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