docker: update to docker 1.12.5 release
PATCH v2 1/4 docker: update to docker 1.12.5 release
Signed-off-by Fathi Boudra <[email protected]>
--- recipes-containers/docker/docker_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-containers/docker/docker_git.bb +2 -2
@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \ subtle and/or glaring issues. \ " -SRCREV = "34d9a8240914d30f3a8fe28c1b7d1d4e36d0657b" +SRCREV = "7392c3b0ce0f9d3e918a321c66668c5d1ef4f689" SRC_URI = "\ git://github.com/docker/docker.git;nobranch=1 \ file://docker.service \
@@ -32,7 +32,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aadc30f9c14d876ded7bedc0afd2d3d7" S = "${WORKDIR}/git" -DOCKER_VERSION = "1.12.0" +DOCKER_VERSION = "1.12.5" PV = "${DOCKER_VERSION}+git${SRCREV}" DEPENDS = "go-cross \
Signature · 1 line
2.11.0
PATCH v2 2/4 docker: update description
* reword docker officially supported hosts section
* bump minimal required kernel from 3.8 to 3.10
Signed-off-by Fathi Boudra <[email protected]>
--- recipes-containers/docker/docker_git.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-containers/docker/docker_git.bb +4 -4
@@ -9,11 +9,11 @@ DESCRIPTION = "Linux container runtime \ large-scale web deployments, database clusters, continuous deployment \ systems, private PaaS, service-oriented architectures, etc. \ . \ - This package contains the daemon and client. Using docker.io on non-amd64 \ - hosts is not supported at this time. Please be careful when using it \ - on anything besides amd64. \ + This package contains the daemon and client. Using docker.io is \ + officially supported on x86_64 and arm (32-bit) hosts. \ + Other architectures are considered experimental. \ . \ - Also, note that kernel version 3.8 or above is required for proper \ + Also, note that kernel version 3.10 or above is required for proper \ operation of the daemon process, and that any lower versions may have \ subtle and/or glaring issues. \ "
Signature · 1 line
2.11.0
PATCH v2 3/4 docker: use a switch to set GOARCH based on TARGET_ARCH value
In reply to Fathi BoudraIt allows to:
* easily extend future architecture added/supported
* tune arm architecture and set GOARM as appropriate
Signed-off-by Fathi Boudra <[email protected]>
--- recipes-containers/docker/docker_git.bb | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-)
recipes-containers/docker/docker_git.bb +23 -8
@@ -66,14 +66,29 @@ DOCKER_PKG="github.com/docker/docker" do_configure[noexec] = "1" do_compile() { - export GOARCH="${TARGET_ARCH}" - # supported amd64, 386, arm arm64 - if [ "${TARGET_ARCH}" = "x86_64" ]; then - export GOARCH="amd64" - fi - if [ "${TARGET_ARCH}" = "aarch64" ]; then - export GOARCH="arm64" - fi + case "${TARGET_ARCH}" in + arm) + GOARCH=arm + case "${TUNE_PKGARCH}" in + cortexa*) + export GOARM=7 + ;; + esac + ;; + aarch64) + GOARCH=arm64 + ;; + i586|i686) + GOARCH=386 + ;; + x86_64) + GOARCH=amd64 + ;; + *) + GOARCH="${TARGET_ARCH}" + ;; + esac + export GOARCH # Set GOPATH. See 'PACKAGERS.md'. Don't rely on # docker to download its dependencies but rather
Signature · 1 line
2.11.0
PATCH v2 4/4 docker: cosmetic - fix indentation
In reply to Fathi Boudracosmetic only, no changes in behavior:
* align all the DEPENDS, better readability
* fix indentation in do_install(): space -> tab
Signed-off-by Fathi Boudra <[email protected]>
--- recipes-containers/docker/docker_git.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
recipes-containers/docker/docker_git.bb +5 -4
@@ -35,7 +35,8 @@ S = "${WORKDIR}/git" DOCKER_VERSION = "1.12.5" PV = "${DOCKER_VERSION}+git${SRCREV}" -DEPENDS = "go-cross \ +DEPENDS = " \ + go-cross \ go-cli \ go-pty \ go-context \
@@ -136,9 +137,9 @@ do_install() { install -m 644 ${S}/contrib/init/systemd/docker.* ${D}/${systemd_unitdir}/system # replaces one copied from above with one that uses the local registry for a mirror install -m 644 ${WORKDIR}/docker.service ${D}/${systemd_unitdir}/system - else - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init + else + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init fi mkdir -p ${D}/usr/share/docker/
Signature · 1 line
2.11.0
Looks good to me.
I'll do a quick sanity build and get this merged/pushed out on Wednesday.
Bruce
Quoted 28 lines · Fathi Boudra
Signed-off-by Fathi Boudra <[email protected]>--- recipes-containers/docker/docker_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-containers/docker/docker_git.bb +2
-2@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \ subtle and/or glaring issues. \ " -SRCREV = "34d9a8240914d30f3a8fe28c1b7d1d4e36d0657b" +SRCREV = "7392c3b0ce0f9d3e918a321c66668c5d1ef4f689" SRC_URI = "\ git://github.com/docker/docker.git;nobranch=1 \ file://docker.service \@@ -32,7 +32,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aadc30f9c14d876ded7bedc0afd2d3d7" S = "${WORKDIR}/git" -DOCKER_VERSION = "1.12.0" +DOCKER_VERSION = "1.12.5" PV = "${DOCKER_VERSION}+git${SRCREV}" DEPENDS = "go-cross \