summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker/docker_git.bb
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-01-20 13:19:50 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-01-20 15:49:06 -0500
commite764db31c1b9c4807a461c002e85ab84a9aae225 (patch)
treeee99f970c1592e2ded550efb557ab66468f43b59 /recipes-containers/docker/docker_git.bb
parente20ee824e070f6c7a752a3ce5363a15699d215ce (diff)
downloadmeta-virtualization-e764db31c1b9c4807a461c002e85ab84a9aae225.tar.gz
docker: fixup builds broken by uprev to 1.13
This new version of docker starts to assume that go 1.7 is used. Specifically in go 1.7 golang.org/x/net/context has been merged so the include is starting to be shortened to simply "context" which does not work when using go 1.6. We can continue to use go 1.6 by using the full pkg path. Additionally the docker-proxy is not built when using the hacks build mechanism, as we do to build docker (ie. we don't build docker in a docker container). We could probably find a way to build docker-proxy using the build hacks, but for now we will simply drop docker-proxy from the package. In an embedded env. using the proxy doesn't make a lot of sense anyways. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/docker/docker_git.bb')
-rw-r--r--recipes-containers/docker/docker_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb
index 1eb24a51..c208a025 100644
--- a/recipes-containers/docker/docker_git.bb
+++ b/recipes-containers/docker/docker_git.bb
@@ -24,6 +24,7 @@ SRC_URI = "\
24 file://docker.service \ 24 file://docker.service \
25 file://docker.init \ 25 file://docker.init \
26 file://hi.Dockerfile \ 26 file://hi.Dockerfile \
27 file://context-use-golang.org-x-net-pkg-until-we-move-to-go.patch \
27 " 28 "
28 29
29# Apache-2.0 for docker 30# Apache-2.0 for docker
@@ -130,7 +131,6 @@ do_install() {
130 mkdir -p ${D}/${bindir} 131 mkdir -p ${D}/${bindir}
131 cp ${S}/bundles/latest/dynbinary-client/docker ${D}/${bindir}/docker 132 cp ${S}/bundles/latest/dynbinary-client/docker ${D}/${bindir}/docker
132 cp ${S}/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd 133 cp ${S}/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
133 cp ${S}/bundles/latest/dynbinary-daemon/docker-proxy ${D}/${bindir}/docker-proxy
134 134
135 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 135 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
136 install -d ${D}${systemd_unitdir}/system 136 install -d ${D}${systemd_unitdir}/system