summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/docker/docker-moby_git.bb2
-rw-r--r--recipes-containers/docker/docker.inc10
2 files changed, 6 insertions, 6 deletions
diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb
index 0abb0b3f..41a6823d 100644
--- a/recipes-containers/docker/docker-moby_git.bb
+++ b/recipes-containers/docker/docker-moby_git.bb
@@ -49,7 +49,7 @@ SRCREV_libnetwork = "67e0588f1ddfaf2faf4c8cae8b7ea2876434d91c"
49SRCREV_cli = "01f933261885c0126edb3f47fd56d048ae31265a" 49SRCREV_cli = "01f933261885c0126edb3f47fd56d048ae31265a"
50SRCREV_FORMAT = "moby_libnetwork" 50SRCREV_FORMAT = "moby_libnetwork"
51SRC_URI = "\ 51SRC_URI = "\
52 git://github.com/moby/moby.git;branch=25.0;name=moby;protocol=https \ 52 git://github.com/moby/moby.git;branch=25.0;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
53 git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \ 53 git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
54 git://github.com/docker/cli;branch=25.0;name=cli;destsuffix=git/cli;protocol=https \ 54 git://github.com/docker/cli;branch=25.0;name=cli;destsuffix=git/cli;protocol=https \
55 file://docker.init \ 55 file://docker.init \
diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc
index 48f7d3ec..8aabd154 100644
--- a/recipes-containers/docker/docker.inc
+++ b/recipes-containers/docker/docker.inc
@@ -60,8 +60,8 @@ do_compile() {
60 ln -sf ../../../.. .gopath/src/"${DOCKER_PKG}" 60 ln -sf ../../../.. .gopath/src/"${DOCKER_PKG}"
61 61
62 mkdir -p .gopath/src/github.com/docker 62 mkdir -p .gopath/src/github.com/docker
63 ln -sf ${WORKDIR}/git/libnetwork .gopath/src/github.com/docker/libnetwork 63 ln -sf ${S}/libnetwork .gopath/src/github.com/docker/libnetwork
64 ln -sf ${WORKDIR}/git/cli .gopath/src/github.com/docker/cli 64 ln -sf ${S}/cli .gopath/src/github.com/docker/cli
65 65
66 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor" 66 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor"
67 export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go" 67 export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go"
@@ -98,9 +98,9 @@ do_compile() {
98 98
99do_install() { 99do_install() {
100 mkdir -p ${D}/${bindir} 100 mkdir -p ${D}/${bindir}
101 cp ${WORKDIR}/git/cli/build/docker ${D}/${bindir}/docker 101 cp ${S}/cli/build/docker ${D}/${bindir}/docker
102 cp ${S}/src/import/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd 102 cp ${S}/src/import/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
103 cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy 103 cp ${S}/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy
104 104
105 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 105 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
106 install -d ${D}${systemd_unitdir}/system 106 install -d ${D}${systemd_unitdir}/system
@@ -110,7 +110,7 @@ do_install() {
110 rm -f ${D}/${systemd_unitdir}/system/docker.service.rpm 110 rm -f ${D}/${systemd_unitdir}/system/docker.service.rpm
111 else 111 else
112 install -d ${D}${sysconfdir}/init.d 112 install -d ${D}${sysconfdir}/init.d
113 install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init 113 install -m 0755 ${UNPACKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init
114 fi 114 fi
115 # TLS key that docker creates at run-time if not found is what resides here 115 # TLS key that docker creates at run-time if not found is what resides here
116 if ${@bb.utils.contains('PACKAGECONFIG','transient-config','true','false',d)}; then 116 if ${@bb.utils.contains('PACKAGECONFIG','transient-config','true','false',d)}; then