summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/docker/docker-moby_git.bb6
-rw-r--r--recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch13
-rw-r--r--recipes-containers/docker/files/0001-cli-use-external-GO111MODULE-and-cross-compiler.patch10
-rw-r--r--recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch10
4 files changed, 18 insertions, 21 deletions
diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb
index 8910e2d3..3dc0e0d1 100644
--- a/recipes-containers/docker/docker-moby_git.bb
+++ b/recipes-containers/docker/docker-moby_git.bb
@@ -44,8 +44,8 @@ DESCRIPTION = "Linux container runtime \
44# so we get that tag, and make it our SRCREVS: 44# so we get that tag, and make it our SRCREVS:
45# 45#
46 46
47SRCREV_moby = "bbd0a17ccc67e48d4a69393287b7fcc4f0578683" 47SRCREV_moby = "e0183475e03cd05b6a560d8b22fe0a83cd1cba14"
48SRCREV_cli = "068a01ea9470df6494cc92d9e64e240805ae47a7" 48SRCREV_cli = "7cbee73f199c5846deaa474b0216fd3d709b9a07"
49SRCREV_FORMAT = "moby" 49SRCREV_FORMAT = "moby"
50SRC_URI = "\ 50SRC_URI = "\
51 git://github.com/moby/moby.git;nobranch=1;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \ 51 git://github.com/moby/moby.git;nobranch=1;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
@@ -64,7 +64,7 @@ require docker.inc
64LICENSE = "Apache-2.0" 64LICENSE = "Apache-2.0"
65LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28" 65LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
66 66
67DOCKER_VERSION = "28.0.1" 67DOCKER_VERSION = "28.3.0"
68PV = "${DOCKER_VERSION}+git${SRCREV_moby}" 68PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
69 69
70CVE_PRODUCT = "docker mobyproject:moby" 70CVE_PRODUCT = "docker mobyproject:moby"
diff --git a/recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch b/recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch
index 30b1a7d8..95ba2225 100644
--- a/recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch
+++ b/recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch
@@ -36,11 +36,11 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
36 contrib/check-config.sh | 4 +++- 36 contrib/check-config.sh | 4 +++-
37 1 file changed, 3 insertions(+), 1 deletion(-) 37 1 file changed, 3 insertions(+), 1 deletion(-)
38 38
39diff --git a/contrib/check-config.sh b/contrib/check-config.sh 39Index: import/contrib/check-config.sh
40index b9cc6bf87d..3124548d99 100755 40===================================================================
41--- a/contrib/check-config.sh 41--- import.orig/contrib/check-config.sh
42+++ b/contrib/check-config.sh 42+++ import/contrib/check-config.sh
43@@ -266,7 +266,9 @@ echo 'Optional Features:' 43@@ -246,7 +246,9 @@ echo 'Optional Features:'
44 check_flags CGROUP_PIDS 44 check_flags CGROUP_PIDS
45 } 45 }
46 { 46 {
@@ -51,6 +51,3 @@ index b9cc6bf87d..3124548d99 100755
51 # Kernel v5.8+ removes MEMCG_SWAP_ENABLED. 51 # Kernel v5.8+ removes MEMCG_SWAP_ENABLED.
52 if [ "$kernelMajor" -lt 5 ] || [ "$kernelMajor" -eq 5 -a "$kernelMinor" -le 8 ]; then 52 if [ "$kernelMajor" -lt 5 ] || [ "$kernelMajor" -eq 5 -a "$kernelMinor" -le 8 ]; then
53 CODE=${EXITCODE} 53 CODE=${EXITCODE}
54--
552.39.2
56
diff --git a/recipes-containers/docker/files/0001-cli-use-external-GO111MODULE-and-cross-compiler.patch b/recipes-containers/docker/files/0001-cli-use-external-GO111MODULE-and-cross-compiler.patch
index 26f5aad4..3f09ebf8 100644
--- a/recipes-containers/docker/files/0001-cli-use-external-GO111MODULE-and-cross-compiler.patch
+++ b/recipes-containers/docker/files/0001-cli-use-external-GO111MODULE-and-cross-compiler.patch
@@ -10,11 +10,11 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
10 git/cli/scripts/build/binary | 3 +-- 10 git/cli/scripts/build/binary | 3 +--
11 1 file changed, 1 insertion(+), 2 deletions(-) 11 1 file changed, 1 insertion(+), 2 deletions(-)
12 12
13Index: git/cli/scripts/build/binary 13Index: docker-moby-28.3.0+gite0183475e03cd05b6a560d8b22fe0a83cd1cba14/cli/scripts/build/binary
14=================================================================== 14===================================================================
15--- git.orig/cli/scripts/build/binary 15--- docker-moby-28.3.0+gite0183475e03cd05b6a560d8b22fe0a83cd1cba14.orig/cli/scripts/build/binary
16+++ git/cli/scripts/build/binary 16+++ docker-moby-28.3.0+gite0183475e03cd05b6a560d8b22fe0a83cd1cba14/cli/scripts/build/binary
17@@ -13,8 +13,6 @@ 17@@ -13,8 +13,6 @@ fi
18 18
19 echo "Building $GO_LINKMODE $(basename "${TARGET}")" 19 echo "Building $GO_LINKMODE $(basename "${TARGET}")"
20 20
@@ -23,7 +23,7 @@ Index: git/cli/scripts/build/binary
23 if [ "$(go env GOOS)" = "windows" ]; then 23 if [ "$(go env GOOS)" = "windows" ]; then
24 if [ ! -x "$(command -v goversioninfo)" ]; then 24 if [ ! -x "$(command -v goversioninfo)" ]; then
25 >&2 echo "goversioninfo not found, skipping manifesting binary" 25 >&2 echo "goversioninfo not found, skipping manifesting binary"
26@@ -24,6 +22,6 @@ 26@@ -24,6 +22,6 @@ if [ "$(go env GOOS)" = "windows" ]; the
27 fi 27 fi
28 fi 28 fi
29 29
diff --git a/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch b/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch
index 9079d81e..e3f20a3a 100644
--- a/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch
+++ b/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch
@@ -39,7 +39,7 @@ Index: import/hack/make/.binary
39=================================================================== 39===================================================================
40--- import.orig/hack/make/.binary 40--- import.orig/hack/make/.binary
41+++ import/hack/make/.binary 41+++ import/hack/make/.binary
42@@ -3,7 +3,7 @@ 42@@ -3,7 +3,7 @@ set -e
43 43
44 # a helper to provide ".exe" when it's appropriate 44 # a helper to provide ".exe" when it's appropriate
45 binary_extension() { 45 binary_extension() {
@@ -48,7 +48,7 @@ Index: import/hack/make/.binary
48 echo -n '.exe' 48 echo -n '.exe'
49 fi 49 fi
50 } 50 }
51@@ -16,31 +16,10 @@ 51@@ -16,31 +16,10 @@ source "${MAKEDIR}/.go-autogen"
52 ( 52 (
53 export GOGC=${DOCKER_BUILD_GOGC:-1000} 53 export GOGC=${DOCKER_BUILD_GOGC:-1000}
54 54
@@ -80,8 +80,8 @@ Index: import/hack/make/.binary
80+ case "$(${GO} env GOOS)/$(${GO} env GOARCH)" in 80+ case "$(${GO} env GOOS)/$(${GO} env GOARCH)" in
81 linux/mips* | linux/ppc64) 81 linux/mips* | linux/ppc64)
82 # -buildmode=pie is not supported on Linux mips*, ppc64be 82 # -buildmode=pie is not supported on Linux mips*, ppc64be
83 # https://github.com/golang/go/blob/go1.23.0/src/internal/platform/supported.go#L189-L197 83 # https://github.com/golang/go/blob/go1.24.3/src/internal/platform/supported.go#L188-L200
84@@ -67,11 +46,11 @@ 84@@ -67,11 +46,11 @@ source "${MAKEDIR}/.go-autogen"
85 # only necessary for non-sandboxed invocation where TARGETPLATFORM is empty 85 # only necessary for non-sandboxed invocation where TARGETPLATFORM is empty
86 PLATFORM_NAME=$TARGETPLATFORM 86 PLATFORM_NAME=$TARGETPLATFORM
87 if [ -z "$PLATFORM_NAME" ]; then 87 if [ -z "$PLATFORM_NAME" ]; then
@@ -98,7 +98,7 @@ Index: import/hack/make/.binary
98 fi 98 fi
99 fi 99 fi
100 100
101@@ -95,7 +74,7 @@ 101@@ -95,7 +74,7 @@ source "${MAKEDIR}/.go-autogen"
102 if [ -n "$DOCKER_DEBUG" ]; then 102 if [ -n "$DOCKER_DEBUG" ]; then
103 set -x 103 set -x
104 fi 104 fi