From d0ef47396d1ea7c67b27898f6d0401cbcef45281 Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Tue, 6 Oct 2015 14:41:13 -0400 Subject: Enable go-cross 1.3 to coexist with later versions Since we need go 1.3 to co-exist with later versions (ie 1.4), package go-cross_1.3 as go-cross-1.3_1.3. go 1.3 will be installed to a different path than go-cross, this requires go packages needing go 1.3 to set its PATH to: export PATH=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/go-1.3:$PATH Signed-off-by: Amy Fong Signed-off-by: Bruce Ashfield --- recipes-containers/docker/docker_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-containers/docker') diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb index 46714fef..69c45ae3 100644 --- a/recipes-containers/docker/docker_git.bb +++ b/recipes-containers/docker/docker_git.bb @@ -37,7 +37,7 @@ S = "${WORKDIR}/git" DOCKER_VERSION = "1.6.2" PV = "${DOCKER_VERSION}+git${SRCREV}" -DEPENDS = "go-cross \ +DEPENDS = "go-cross-1.3 \ go-cli \ go-pty \ go-context \ @@ -66,6 +66,8 @@ do_configure() { } do_compile() { + export PATH=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/go-1.3:$PATH + export GOARCH="${TARGET_ARCH}" # supported amd64, 386, arm if [ "${TARGET_ARCH}" = "x86_64" ]; then -- cgit v1.2.3-54-g00ecf