diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-06-25 22:40:08 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-06-25 22:40:08 -0400 |
| commit | bc2a750d5cd518706aff406da6e0719ce475e36b (patch) | |
| tree | 50fc47c0c749ec6cb3ea6e197b7b78cb97932714 /recipes-containers/docker | |
| parent | 9f23867e6386ba4131c165f084c5f5de2c612451 (diff) | |
| download | meta-virtualization-bc2a750d5cd518706aff406da6e0719ce475e36b.tar.gz | |
containers: adapt to UNPACKDIR changes
This commit updates the container recipes to the OE core UNPACKDIR
changes.
- We drop references to WORKDIR
- We adjust destsuffix fetches to use BB_GIT_DEFAULT_DESTSUFFIX
instead of 'git'
- Update our GOPATH references to use UNPACKDIR
- Drop S = assignemnts where possible
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/docker')
| -rw-r--r-- | recipes-containers/docker/docker-moby_git.bb | 2 | ||||
| -rw-r--r-- | recipes-containers/docker/docker.inc | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb index dfbfa706..8910e2d3 100644 --- a/recipes-containers/docker/docker-moby_git.bb +++ b/recipes-containers/docker/docker-moby_git.bb | |||
| @@ -49,7 +49,7 @@ SRCREV_cli = "068a01ea9470df6494cc92d9e64e240805ae47a7" | |||
| 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} \ |
| 52 | git://github.com/docker/cli;nobranch=1;name=cli;destsuffix=git/cli;protocol=https \ | 52 | git://github.com/docker/cli;nobranch=1;name=cli;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/cli;protocol=https \ |
| 53 | file://docker.init \ | 53 | file://docker.init \ |
| 54 | file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \ | 54 | file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \ |
| 55 | file://0001-dynbinary-use-go-cross-compiler.patch;patchdir=src/import \ | 55 | file://0001-dynbinary-use-go-cross-compiler.patch;patchdir=src/import \ |
diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc index 05a14f97..1567cdfe 100644 --- a/recipes-containers/docker/docker.inc +++ b/recipes-containers/docker/docker.inc | |||
| @@ -31,11 +31,7 @@ PACKAGECONFIG[seccomp] = "seccomp,,libseccomp" | |||
| 31 | PACKAGECONFIG[docker-init] = ",,,docker-init" | 31 | PACKAGECONFIG[docker-init] = ",,,docker-init" |
| 32 | PACKAGECONFIG[transient-config] = "transient-config" | 32 | PACKAGECONFIG[transient-config] = "transient-config" |
| 33 | 33 | ||
| 34 | |||
| 35 | GO_IMPORT = "import" | 34 | GO_IMPORT = "import" |
| 36 | S = "${WORKDIR}/git" | ||
| 37 | |||
| 38 | |||
| 39 | 35 | ||
| 40 | inherit systemd update-rc.d | 36 | inherit systemd update-rc.d |
| 41 | inherit go | 37 | inherit go |
