diff options
-rw-r--r-- | recipes-containers/docker/docker-ce_git.bb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/recipes-containers/docker/docker-ce_git.bb b/recipes-containers/docker/docker-ce_git.bb index 042d3a41..a3e27a53 100644 --- a/recipes-containers/docker/docker-ce_git.bb +++ b/recipes-containers/docker/docker-ce_git.bb | |||
@@ -18,11 +18,12 @@ DESCRIPTION = "Linux container runtime \ | |||
18 | subtle and/or glaring issues. \ | 18 | subtle and/or glaring issues. \ |
19 | " | 19 | " |
20 | 20 | ||
21 | SRCREV_docker = "f5e591e815841e04e910223fb63f1ef7689ae153" | 21 | SRCREV_docker = "2416d7f930859912c883f964b1cee6909635f951" |
22 | SRCREV_libnetwork = "4725f2163fb214a6312f3beae5991f838ec36326" | 22 | SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381" |
23 | SRC_URI = "\ | 23 | SRC_URI = "\ |
24 | git://github.com/docker/docker-ce.git;branch=18.09;name=docker \ | 24 | git://github.com/docker/docker-ce.git;branch=19.03;name=docker \ |
25 | git://github.com/docker/libnetwork.git;branch=bump_18.09;name=libnetwork;destsuffix=git/libnetwork \ | 25 | git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork \ |
26 | file://0001-libnetwork-use-GO-instead-of-go.patch \ | ||
26 | file://docker.init \ | 27 | file://docker.init \ |
27 | " | 28 | " |
28 | 29 | ||
@@ -30,13 +31,13 @@ require docker.inc | |||
30 | 31 | ||
31 | # Apache-2.0 for docker | 32 | # Apache-2.0 for docker |
32 | LICENSE = "Apache-2.0" | 33 | LICENSE = "Apache-2.0" |
33 | LIC_FILES_CHKSUM = "file://src/import/components/engine/LICENSE;md5=9740d093a080530b5c5c6573df9af45a" | 34 | LIC_FILES_CHKSUM = "file://src/import/components/engine/LICENSE;md5=4859e97a9c7780e77972d989f0823f28" |
34 | 35 | ||
35 | GO_IMPORT = "import" | 36 | GO_IMPORT = "import" |
36 | 37 | ||
37 | S = "${WORKDIR}/git" | 38 | S = "${WORKDIR}/git" |
38 | 39 | ||
39 | DOCKER_VERSION = "18.09.3-ce" | 40 | DOCKER_VERSION = "19.03.0-rc3-ce" |
40 | PV = "${DOCKER_VERSION}+git${SRCREV_docker}" | 41 | PV = "${DOCKER_VERSION}+git${SRCREV_docker}" |
41 | 42 | ||
42 | PACKAGES =+ "${PN}-contrib" | 43 | PACKAGES =+ "${PN}-contrib" |
@@ -58,8 +59,6 @@ do_compile() { | |||
58 | mkdir -p .gopath/src/"$(dirname "${DOCKER_PKG}")" | 59 | mkdir -p .gopath/src/"$(dirname "${DOCKER_PKG}")" |
59 | ln -sf ../../../../components/engine/ .gopath/src/"${DOCKER_PKG}" | 60 | ln -sf ../../../../components/engine/ .gopath/src/"${DOCKER_PKG}" |
60 | 61 | ||
61 | mkdir -p .gopath/src/github.com/docker | ||
62 | ln -sf ${WORKDIR}/git/libnetwork .gopath/src/github.com/docker/libnetwork | ||
63 | ln -sf ${S}/src/import/components/cli .gopath/src/github.com/docker/cli | 62 | ln -sf ${S}/src/import/components/cli .gopath/src/github.com/docker/cli |
64 | 63 | ||
65 | export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" | 64 | export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" |
@@ -78,12 +77,13 @@ do_compile() { | |||
78 | 77 | ||
79 | cd ${S}/src/import/components/engine | 78 | cd ${S}/src/import/components/engine |
80 | 79 | ||
81 | # this is the unsupported build structure | 80 | # this is the unsupported build structure that doesn't rely on an |
82 | # that doesn't rely on an existing docker | 81 | # existing docker to build this: |
83 | # to build this: | ||
84 | VERSION="${DOCKER_VERSION}" DOCKER_GITCOMMIT="${SRCREV_docker}" ./hack/make.sh dynbinary | 82 | VERSION="${DOCKER_VERSION}" DOCKER_GITCOMMIT="${SRCREV_docker}" ./hack/make.sh dynbinary |
85 | 83 | ||
86 | # build the proxy | 84 | # build the proxy |
85 | cd ${S}/src/import | ||
86 | ln -sf ${WORKDIR}/git/libnetwork .gopath/src/github.com/docker/libnetwork | ||
87 | cd ${S}/src/import/.gopath/src/github.com/docker/libnetwork | 87 | cd ${S}/src/import/.gopath/src/github.com/docker/libnetwork |
88 | oe_runmake cross-local | 88 | oe_runmake cross-local |
89 | 89 | ||