Skip to contentSkip to conversation

docker-ce: update to v19.03.5

PATCH In review Stefan Agner 2 participants 3 messages Jan 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docker-ce: update to v19.03.5

From: Stefan Agner <[email protected]>

Bump the git hashes to Docker CE v19.03.5. This requires to get the docker daemon binary from a different location as the symlink from the latest/ subdirectory has been removed. See also commit deaac5d4b3fa ("hack/make.sh remove "latest" symlink") in the docker-ce repository.

---
 recipes-containers/docker/docker-ce_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-ce_git.bb +3 -3
index 817795f..0d088da 100644
@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \
  subtle and/or glaring issues. \
  "
 
-SRCREV_docker = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e"
+SRCREV_docker = "633a0ea838f10e000b7c6d6eed1623e6e988b5bb"
 SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381"
 SRC_URI = "\
 	git://github.com/docker/docker-ce.git;branch=19.03;name=docker \
@@ -38,7 +38,7 @@ GO_IMPORT = "import"
 
 S = "${WORKDIR}/git"
 
-DOCKER_VERSION = "19.03.2-ce"
+DOCKER_VERSION = "19.03.5-ce"
 PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
 
 PACKAGES =+ "${PN}-contrib"
@@ -99,7 +99,7 @@ do_compile() {
 do_install() {
 	mkdir -p ${D}/${bindir}
 	cp ${S}/src/import/components/cli/build/docker ${D}/${bindir}/docker
-	cp ${S}/src/import/components/engine/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
+	cp ${S}/src/import/components/engine/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
 	cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy
 
 	if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · Stefan Agner

From: Stefan Agner <[email protected]>

Bump the git hashes to Docker CE v19.03.5. This requires to get the docker daemon binary from a different location as the symlink from the latest/ subdirectory has been removed. See also commit deaac5d4b3fa ("hack/make.sh remove "latest" symlink") in the docker-ce repository.

Bugfix only update? The helps the maintainer decide if the backport is viable.

- armin

Quoted 38 lines
---
 recipes-containers/docker/docker-ce_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-ce_git.bb +3 -3
index 817795f..0d088da 100644
@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \
  subtle and/or glaring issues. \
  "
 
-SRCREV_docker = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e"
+SRCREV_docker = "633a0ea838f10e000b7c6d6eed1623e6e988b5bb"
 SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381"
 SRC_URI = "\
 	git://github.com/docker/docker-ce.git;branch=19.03;name=docker \
@@ -38,7 +38,7 @@ GO_IMPORT = "import"
 
 S = "${WORKDIR}/git"
 
-DOCKER_VERSION = "19.03.2-ce"
+DOCKER_VERSION = "19.03.5-ce"
 PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
 
 PACKAGES =+ "${PN}-contrib"
@@ -99,7 +99,7 @@ do_compile() {
 do_install() {
 	mkdir -p ${D}/${bindir}
 	cp ${S}/src/import/components/cli/build/docker ${D}/${bindir}/docker
-	cp ${S}/src/import/components/engine/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
+	cp ${S}/src/import/components/engine/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
 	cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy
 
 	if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
#2 lore raw
Quoted 11 lines · akuster
Quoted 6 lines · Stefan Agner

From: Stefan Agner <[email protected]>

Bump the git hashes to Docker CE v19.03.5. This requires to get the docker daemon binary from a different location as the symlink from the latest/ subdirectory has been removed. See also commit deaac5d4b3fa ("hack/make.sh remove "latest" symlink") in the docker-ce repository.

Bugfix only update? The helps the maintainer decide if the backport is viable.

- armin

That is not that easy to tell. The changelog lists also some stuff which might be features (e.g.builder-next: Added entitlements in builder config):
https://docs.docker.com/engine/release-notes/

However, that said in OE we build most of the components outside of the Docker recipe. It is mainly the Docker engine and client which we build in that recipe.

From what I can tell its mostly fixes in engine and client.

Signature · 1 line
Stefan 
Quoted 38 lines
Quoted 36 lines

---
recipes-containers/docker/docker-ce_git.bb | 6 +++---

1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-ce_git.bb +0 -0
index 817795f..0d088da 100644
@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \
 subtle and/or glaring issues. \

"

recipes-containers/docker/docker-ce_git.bb +1 -1
-SRCREV_docker = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e"
+SRCREV_docker = "633a0ea838f10e000b7c6d6eed1623e6e988b5bb"

SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381" SRC_URI = "\
git://github.com/docker/docker-ce.git;branch=19.03;name=docker \

recipes-containers/docker/docker-ce_git.bb +0 -0
@@ -38,7 +38,7 @@ GO_IMPORT = "import"
 

S = "${WORKDIR}/git"

recipes-containers/docker/docker-ce_git.bb +1 -1
-DOCKER_VERSION = "19.03.2-ce"
+DOCKER_VERSION = "19.03.5-ce"

PV = "${DOCKER_VERSION}+git${SRCREV_docker}"

PACKAGES =+ "${PN}-contrib"

recipes-containers/docker/docker-ce_git.bb +0 -0
@@ -99,7 +99,7 @@ do_compile() {
 do_install() {
 mkdir -p ${D}/${bindir}

cp ${S}/src/import/components/cli/build/docker ${D}/${bindir}/docker

recipes-containers/docker/docker-ce_git.bb +1 -1
-    cp ${S}/src/import/components/engine/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
+    cp ${S}/src/import/components/engine/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd

cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy

if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then