diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2017-09-10 18:54:42 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-09-16 07:15:24 +0700 |
commit | 51149962e66777964108ed63a334510d5f680842 (patch) | |
tree | a102ff1866e03ce5754f1d0513eadc6a379925e3 /system/runc/runc.SlackBuild | |
parent | fd17b17a04b7232e27a8347d2ab5890a696485c5 (diff) |
system/runc: Updated for version 1.0.0_rc3_810190c.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
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 |