diff options
Diffstat (limited to 'system/runc/runc.SlackBuild')
-rw-r--r-- | system/runc/runc.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/system/runc/runc.SlackBuild b/system/runc/runc.SlackBuild index 83b1e75466bac..b78c7ceea0e82 100644 --- a/system/runc/runc.SlackBuild +++ b/system/runc/runc.SlackBuild @@ -24,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=runc -VERSION=${VERSION:-1.0.0_rc2_54296cf} -GITHASH=${GITHASH:-54296cf40ad8143b62dbcaa1d90e520a2136ddfe} +VERSION=${VERSION:-1.0.0_rc3_810190c} +GITHASH=${GITHASH:-810190ceaa507aa2727d7ae6f4790c76ec150bd2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,10 +57,16 @@ 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 {} \; -# Do not try to get git commit hash, there is no git repo available. -sed -i 's/^COMMIT/# COMMIT/' Makefile +mkdir build +mv vendor build/src +ln -sf $TMP/$PRGNAM-$GITHASH build/src/github.com/opencontainers/runc -make COMMIT="$GITHASH" +# Do not try to get git commit hash, we're not inside git repository. +sed -i '/^COMMIT/d' Makefile + +make \ + COMMIT=$GITHASH \ + GOPATH=$TMP/$PRGNAM-$GITHASH/build make install BINDIR=$PKG/usr/bin make install-bash PREFIX=$PKG/usr |