diff options
Diffstat (limited to 'recipes-containers')
| -rw-r--r-- | recipes-containers/docker/docker-moby_git.bb | 6 | ||||
| -rw-r--r-- | recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb index 0078ab6d..43327a92 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 | ||
| 47 | SRCREV_moby = "d1a720cb15d99821e7b96197b0f01ffea33b7356" | 47 | SRCREV_moby = "8abd12c5bb916f16d4c778ab09ea024de3a0e9f7" |
| 48 | SRCREV_cli = "171a9b70b2736c719019393259ecebdcac47bead" | 48 | SRCREV_cli = "df016a3a9538efb6d7d6e7c3baf291dbbe28eee0" |
| 49 | SRCREV_FORMAT = "moby" | 49 | SRCREV_FORMAT = "moby" |
| 50 | SRC_URI = "\ | 50 | SRC_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 | |||
| 64 | LICENSE = "Apache-2.0" | 64 | LICENSE = "Apache-2.0" |
| 65 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28" | 65 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28" |
| 66 | 66 | ||
| 67 | DOCKER_VERSION = "29.0.0-rc.1" | 67 | DOCKER_VERSION = "v29.2.1" |
| 68 | PV = "${DOCKER_VERSION}+git${SRCREV_moby}" | 68 | PV = "${DOCKER_VERSION}+git${SRCREV_moby}" |
| 69 | 69 | ||
| 70 | CVE_PRODUCT = "docker mobyproject:moby" | 70 | CVE_PRODUCT = "docker mobyproject:moby" |
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 948f5ce8..79d60cc9 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 @@ set -e | 42 | @@ -3,7 +3,7 @@ |
| 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,10 +48,10 @@ Index: import/hack/make/.binary | |||
| 48 | echo -n '.exe' | 48 | echo -n '.exe' |
| 49 | fi | 49 | fi |
| 50 | } | 50 | } |
| 51 | @@ -16,31 +16,10 @@ source "${MAKEDIR}/.go-autogen" | 51 | @@ -14,31 +14,10 @@ |
| 52 | ( | 52 | source "${MAKEDIR}/.go-autogen" |
| 53 | export GOGC=${DOCKER_BUILD_GOGC:-1000} | ||
| 54 | 53 | ||
| 54 | ( | ||
| 55 | - if [ "$(go env GOOS)/$(go env GOARCH)" != "$(go env GOHOSTOS)/$(go env GOHOSTARCH)" ]; then | 55 | - if [ "$(go env GOOS)/$(go env GOARCH)" != "$(go env GOHOSTOS)/$(go env GOHOSTARCH)" ]; then |
| 56 | - # must be cross-compiling! | 56 | - # must be cross-compiling! |
| 57 | - if [ "$(go env GOOS)/$(go env GOARCH)" = "linux/arm" ]; then | 57 | - if [ "$(go env GOOS)/$(go env GOARCH)" = "linux/arm" ]; then |
| @@ -81,7 +81,7 @@ Index: import/hack/make/.binary | |||
| 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.24.3/src/internal/platform/supported.go#L188-L200 | 83 | # https://github.com/golang/go/blob/go1.24.3/src/internal/platform/supported.go#L188-L200 |
| 84 | @@ -67,11 +46,11 @@ source "${MAKEDIR}/.go-autogen" | 84 | @@ -65,11 +44,11 @@ |
| 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 @@ source "${MAKEDIR}/.go-autogen" | 101 | @@ -93,7 +72,7 @@ |
| 102 | if [ -n "$DOCKER_DEBUG" ]; then | 102 | if [ -n "$DOCKER_DEBUG" ]; then |
| 103 | set -x | 103 | set -x |
| 104 | fi | 104 | fi |
