summaryrefslogtreecommitdiff
path: root/system/containerd/containerd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/containerd/containerd.SlackBuild')
-rw-r--r--system/containerd/containerd.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/containerd/containerd.SlackBuild b/system/containerd/containerd.SlackBuild
index c0b405f2fe..5e719ca147 100644
--- a/system/containerd/containerd.SlackBuild
+++ b/system/containerd/containerd.SlackBuild
@@ -24,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=containerd
-VERSION=${VERSION:-0.2.6}
-GITHASH=${GITHASH:-4ab9917febca54791c5f071a9d1f404867857fcc}
+VERSION=${VERSION:-0.2.9_6e23458}
+GITHASH=${GITHASH:-6e23458c129b551d5c9871e5174f6b1b7f6d1170}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,9 +47,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$GITHASH
+tar xvf $CWD/$PRGNAM-$GITHASH.tar.gz
+cd $PRGNAM-$GITHASH
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -57,12 +57,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-ln -sfn $TMP/$PRGNAM-$VERSION vendor/src/github.com/docker/containerd
+ln -sfn $TMP/$PRGNAM-$GITHASH vendor/src/github.com/containerd/containerd
make \
BUILDTAGS="seccomp" \
- GIT_COMMIT="$GITHASH" \
- GOPATH=$TMP/$PRGNAM-$VERSION:$TMP/$PRGNAM-$VERSION/vendor
+ GIT_COMMIT=$GITHASH \
+ GOPATH=$TMP/$PRGNAM-$GITHASH:$TMP/$PRGNAM-$GITHASH/vendor
# Install executables.
install -D -m 0755 bin/containerd $PKG/usr/bin/containerd