All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Stewart <christian@paral.in>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1 3/4] package/docker-engine: bump to 19.03.5
Date: Mon,  2 Dec 2019 20:50:02 -0800	[thread overview]
Message-ID: <20191203045003.145746-3-christian@paral.in> (raw)
In-Reply-To: <20191203045003.145746-1-christian@paral.in>

Signed-off-by: Christian Stewart <christian@paral.in>
---
 ...ix-faulty-runc-version-commit-scrape.patch | 45 -------------------
 package/docker-engine/docker-engine.hash      |  2 +-
 package/docker-engine/docker-engine.mk        |  2 +-
 3 files changed, 2 insertions(+), 47 deletions(-)
 delete mode 100644 package/docker-engine/0001-Fix-faulty-runc-version-commit-scrape.patch

diff --git a/package/docker-engine/0001-Fix-faulty-runc-version-commit-scrape.patch b/package/docker-engine/0001-Fix-faulty-runc-version-commit-scrape.patch
deleted file mode 100644
index dc47a8f9ef..0000000000
--- a/package/docker-engine/0001-Fix-faulty-runc-version-commit-scrape.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 324e7be4b252c13002bca6a9d82e7b2e43664634 Mon Sep 17 00:00:00 2001
-From: Christian Stewart <christian@paral.in>
-Date: Mon, 26 Nov 2018 22:59:32 -0800
-Subject: [PATCH] Fix faulty runc version commit scrape
-
-This commit replaces faulty logic to determine the runc version commit hash.
-
-The original logic takes the second line of the output of "runc --version" and
-does not work if there are a different number of lines printed from the command
-than expected. The buildroot version of runc outputs two lines instead of the
-expected three, causing the error:
-
-unknown output format: runc version commit: ...
-
-This patch replaces this logic with a simple scan of the "runc --version"
-output, searching for the "runc version commit" prefixed line.
-
-Signed-off-by: Christian Stewart <christian@paral.in>
----
- daemon/info_unix.go | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/daemon/info_unix.go b/daemon/info_unix.go
-index 60b2f99870..688a510796 100644
---- a/daemon/info_unix.go
-+++ b/daemon/info_unix.go
-@@ -32,10 +32,11 @@ func (daemon *Daemon) fillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo)
- 	defaultRuntimeBinary := daemon.configStore.GetRuntime(v.DefaultRuntime).Path
- 	if rv, err := exec.Command(defaultRuntimeBinary, "--version").Output(); err == nil {
- 		parts := strings.Split(strings.TrimSpace(string(rv)), "\n")
--		if len(parts) == 3 {
--			parts = strings.Split(parts[1], ": ")
--			if len(parts) == 2 {
--				v.RuncCommit.ID = strings.TrimSpace(parts[1])
-+		for _, pt := range parts {
-+			ptKv := strings.Split(pt, ":")
-+			if strings.HasSuffix(strings.TrimSpace(ptKv[0]), "commit") {
-+				v.RuncCommit.ID = strings.TrimSpace(ptKv[1])
-+				break
- 			}
- 		}
- 
--- 
-2.18.1
-
diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash
index b89310f993..59c9204285 100644
--- a/package/docker-engine/docker-engine.hash
+++ b/package/docker-engine/docker-engine.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256	fa3a9e998627418d648495d06d168c4d26ed07859c9370d5fddbfd29c26d8592  docker-engine-18.09.9.tar.gz
+sha256	bc5d1ac503e44593be8003ed0ad9c75bf0da535db19837a9338429c438bd4637  docker-engine-19.03.5.tar.gz
 sha256	2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0  LICENSE
diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk
index 6a225ee5f0..24022f7107 100644
--- a/package/docker-engine/docker-engine.mk
+++ b/package/docker-engine/docker-engine.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-DOCKER_ENGINE_VERSION = 18.09.9
+DOCKER_ENGINE_VERSION = 19.03.5
 DOCKER_ENGINE_SITE = $(call github,docker,engine,v$(DOCKER_ENGINE_VERSION))
 
 DOCKER_ENGINE_LICENSE = Apache-2.0
-- 
2.24.0

  parent reply	other threads:[~2019-12-03  4:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03  4:50 [Buildroot] [PATCH v1 1/4] package/runc: bump to 1.0.0-rc9 Christian Stewart
2019-12-03  4:50 ` [Buildroot] [PATCH v1 2/4] package/docker-containerd: bump to 1.2.11 Christian Stewart
2019-12-04 10:00   ` Peter Korsgaard
2020-01-05 22:39   ` Peter Korsgaard
2020-01-10 19:44     ` Peter Korsgaard
2019-12-03  4:50 ` Christian Stewart [this message]
2019-12-03  7:57   ` [Buildroot] [PATCH v1 3/4] package/docker-engine: bump to 19.03.5 Thomas Petazzoni
2019-12-04  2:18     ` Christian Stewart
2019-12-04  7:52       ` Thomas Petazzoni
2019-12-07 22:50         ` Christian Stewart
2019-12-04  9:46   ` Peter Korsgaard
2019-12-05  0:28     ` Christian Stewart
2020-01-05 22:39   ` Peter Korsgaard
2020-01-10 19:44     ` Peter Korsgaard
2020-01-10 19:45   ` Peter Korsgaard
2019-12-03  4:50 ` [Buildroot] [PATCH v1 4/4] package/docker-cli: " Christian Stewart
2020-01-05 22:39   ` Peter Korsgaard
2020-01-10 19:45   ` Peter Korsgaard
2019-12-04  9:55 ` [Buildroot] [PATCH v1 1/4] package/runc: bump to 1.0.0-rc9 Peter Korsgaard
2020-01-05 22:38 ` Peter Korsgaard
2020-01-10 19:45 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191203045003.145746-3-christian@paral.in \
    --to=christian@paral.in \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.