app-emulation/docker-runc: switch to building with go1.16

Upstream builds with go1.16. Additionally fixup the VERSION variable specify the
current Flatcar Docker version 20.10.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2021-08-20 09:13:27 +00:00
parent 194291a6e3
commit 28f2b152e4

View File

@ -5,7 +5,7 @@ EAPI=6
GITHUB_URI="github.com/opencontainers/runc" GITHUB_URI="github.com/opencontainers/runc"
COREOS_GO_PACKAGE="${GITHUB_URI}" COREOS_GO_PACKAGE="${GITHUB_URI}"
COREOS_GO_VERSION="go1.13" COREOS_GO_VERSION="go1.16"
# the commit of runc that docker uses. # the commit of runc that docker uses.
# see https://github.com/docker/docker-ce/blob/v19.03.15/components/engine/hack/dockerfile/install/runc.installer#L4 # see https://github.com/docker/docker-ce/blob/v19.03.15/components/engine/hack/dockerfile/install/runc.installer#L4
COMMIT_ID="47e597c3eb2f002299eb9be6c8476194a92e9595" COMMIT_ID="47e597c3eb2f002299eb9be6c8476194a92e9595"
@ -55,7 +55,7 @@ src_compile() {
) )
GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \ GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
VERSION=1.0.1+dev.docker-19.03 \ VERSION=1.0.1+dev.docker-20.10 \
COMMIT="${COMMIT_ID}" COMMIT="${COMMIT_ID}"
} }