mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
runc: fixed displayed git commit
This commit is contained in:
parent
14c69d33d0
commit
638c6d7d21
@ -3,15 +3,18 @@
|
|||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="runc"
|
PKG_NAME="runc"
|
||||||
PKG_VERSION="v1.0.0-rc8"
|
PKG_VERSION="1.0.0-rc8"
|
||||||
PKG_SHA256="efe4ff9bbe49b19074346d65c914d809c0a3e90d062ea9619fe240f931f0b700"
|
PKG_SHA256="efe4ff9bbe49b19074346d65c914d809c0a3e90d062ea9619fe240f931f0b700"
|
||||||
PKG_LICENSE="APL"
|
PKG_LICENSE="APL"
|
||||||
PKG_SITE="https://github.com/opencontainers/runc"
|
PKG_SITE="https://github.com/opencontainers/runc"
|
||||||
PKG_URL="https://github.com/opencontainers/runc/archive/${PKG_VERSION}.tar.gz"
|
PKG_URL="https://github.com/opencontainers/runc/archive/v${PKG_VERSION}.tar.gz"
|
||||||
PKG_DEPENDS_TARGET="toolchain go:host"
|
PKG_DEPENDS_TARGET="toolchain go:host"
|
||||||
PKG_LONGDESC="A CLI tool for spawning and running containers according to the OCI specification."
|
PKG_LONGDESC="A CLI tool for spawning and running containers according to the OCI specification."
|
||||||
PKG_TOOLCHAIN="manual"
|
PKG_TOOLCHAIN="manual"
|
||||||
|
|
||||||
|
# Git commit of the matching release https://github.com/opencontainers/runc/releases
|
||||||
|
PKG_GIT_COMMIT="425e105d5a03fabd737a126ad93d62a9eeede87f"
|
||||||
|
|
||||||
pre_make_target() {
|
pre_make_target() {
|
||||||
case $TARGET_ARCH in
|
case $TARGET_ARCH in
|
||||||
x86_64)
|
x86_64)
|
||||||
@ -38,7 +41,7 @@ pre_make_target() {
|
|||||||
export CGO_ENABLED=1
|
export CGO_ENABLED=1
|
||||||
export CGO_NO_EMULATION=1
|
export CGO_NO_EMULATION=1
|
||||||
export CGO_CFLAGS=$CFLAGS
|
export CGO_CFLAGS=$CFLAGS
|
||||||
export LDFLAGS="-w -extldflags -static -X main.gitCommit=${PKG_VERSION} -X main.version=$(cat ./VERSION) -extld $CC"
|
export LDFLAGS="-w -extldflags -static -X main.gitCommit=${PKG_GIT_COMMIT} -X main.version=$(cat ./VERSION) -extld $CC"
|
||||||
export GOLANG=$TOOLCHAIN/lib/golang/bin/go
|
export GOLANG=$TOOLCHAIN/lib/golang/bin/go
|
||||||
export GOPATH=$PKG_BUILD/.gopath
|
export GOPATH=$PKG_BUILD/.gopath
|
||||||
export GOROOT=$TOOLCHAIN/lib/golang
|
export GOROOT=$TOOLCHAIN/lib/golang
|
||||||
|
Loading…
x
Reference in New Issue
Block a user