]> git.proxmox.com Git - lxcfs.git/blobdiff - Makefile
Update upstream post clone/fork fix
[lxcfs.git] / Makefile
index 9919cfa9f3172d59c0cfce34c4e3855c38aa9e2e..9b524a351accfdc72da78ba6fa990ee686e4b7bf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
-RELEASE=4.0
+RELEASE=4.1
 
 PACKAGE=lxcfs
-PKGVER=0.9
-DEBREL=pve2
+PKGVER=2.0.0
+DEBREL=pve1
 
 SRCDIR=${PACKAGE}
 SRCTAR=${SRCDIR}.tgz
@@ -10,7 +10,8 @@ SRCTAR=${SRCDIR}.tgz
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
-DEB=${PACKAGE}_${PKGVER}-${DEBREL}_amd64.deb
+DEB=${PACKAGE}_${PKGVER}-${DEBREL}_amd64.deb \
+    ${PACKAGE}-dbg_${PKGVER}-${DEBREL}_amd64.deb
 
 all: ${DEB}
 
@@ -28,6 +29,7 @@ deb ${DEB}: ${SRCTAR}
 download ${SRCTAR}:
        rm -rf ${SRCDIR} ${SRCTAR}
        git clone git://github.com/lxc/lxcfs
+       cd lxcfs; git reset --hard f0f8b8511938cc680150d782a3add0ee4d60fb01
        tar czf ${SRCTAR}.tmp ${SRCDIR}
        mv ${SRCTAR}.tmp ${SRCTAR}
 
@@ -36,6 +38,7 @@ upload: ${DEB}
        umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
        mkdir -p /pve/${RELEASE}/extra
        rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb
+       rm -f /pve/${RELEASE}/extra/${PACKAGE}-dbg_*.deb
        rm -f /pve/${RELEASE}/extra/Packages*
        cp ${DEB} /pve/${RELEASE}/extra
        cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz