summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2025-06-25 22:40:08 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2025-06-25 22:40:08 -0400
commitbc2a750d5cd518706aff406da6e0719ce475e36b (patch)
tree50fc47c0c749ec6cb3ea6e197b7b78cb97932714
parent9f23867e6386ba4131c165f084c5f5de2c612451 (diff)
downloadmeta-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>
-rw-r--r--recipes-containers/aardvark-dns/aardvark-dns_1.14.0.bb2
-rw-r--r--recipes-containers/buildah/buildah_git.bb2
-rw-r--r--recipes-containers/catatonit/catatonit_0.2.0.bb1
-rw-r--r--recipes-containers/conmon/conmon_git.bb2
-rw-r--r--recipes-containers/containerd/containerd_git.bb4
-rw-r--r--recipes-containers/criu/criu_git.bb2
-rw-r--r--recipes-containers/crun/crun_git.bb9
-rw-r--r--recipes-containers/docker-distribution/docker-distribution_git.bb4
-rw-r--r--recipes-containers/docker/docker-moby_git.bb2
-rw-r--r--recipes-containers/docker/docker.inc4
-rw-r--r--recipes-containers/go-digest/go-digest_git.bb4
-rw-r--r--recipes-containers/go-errors/go-errors_git.bb4
-rw-r--r--recipes-containers/go-spf13-cobra/spf13-cobra_git.bb4
-rw-r--r--recipes-containers/go-spf13-pflag/spf13-pflag_git.bb4
-rw-r--r--recipes-containers/kubernetes/kubernetes_git.bb14
-rw-r--r--recipes-containers/lxc/lxc_git.bb2
-rw-r--r--recipes-containers/nerdctl/nerdctl_git.bb2
-rw-r--r--recipes-containers/netavark/netavark_1.14.1.bb2
-rw-r--r--recipes-containers/oci-image-spec/oci-image-spec_git.bb4
-rw-r--r--recipes-containers/oci-image-tools/oci-image-tools_git.bb4
-rw-r--r--recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb4
-rw-r--r--recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb4
-rw-r--r--recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb1
-rw-r--r--recipes-containers/podman-compose/podman-compose_git.bb2
-rw-r--r--recipes-containers/podman-tui/podman-tui_git.bb2
-rw-r--r--recipes-containers/podman/podman_git.bb2
-rw-r--r--recipes-containers/riddler/riddler_git.bb4
-rw-r--r--recipes-containers/runc/runc.inc2
-rw-r--r--recipes-containers/singularity/singularity_git.bb2
-rw-r--r--recipes-containers/skopeo/skopeo_git.bb4
-rw-r--r--recipes-containers/sloci-image/sloci-image_git.bb2
-rw-r--r--recipes-containers/tini/tini_0.19.0.bb2
-rw-r--r--recipes-containers/umoci/umoci_git.bb4
-rw-r--r--recipes-extended/virtiofsd/virtiofsd_1.13.2.bb (renamed from recipes-extended/virtiofsd/virtiofsd_1.7.0.bb)0
34 files changed, 32 insertions, 79 deletions
diff --git a/recipes-containers/aardvark-dns/aardvark-dns_1.14.0.bb b/recipes-containers/aardvark-dns/aardvark-dns_1.14.0.bb
index d4232f72..b6de3a28 100644
--- a/recipes-containers/aardvark-dns/aardvark-dns_1.14.0.bb
+++ b/recipes-containers/aardvark-dns/aardvark-dns_1.14.0.bb
@@ -12,8 +12,6 @@ SRC_URI = "git://github.com/containers/aardvark-dns;protocol=https;nobranch=1 \
12 file://run-ptest" 12 file://run-ptest"
13require ${BPN}-crates.inc 13require ${BPN}-crates.inc
14 14
15S = "${WORKDIR}/git"
16
17inherit cargo cargo-update-recipe-crates features_check ptest 15inherit cargo cargo-update-recipe-crates features_check ptest
18 16
19# Cargo installs the binary to bin so move it to where podman expects it 17# Cargo installs the binary to bin so move it to where podman expects it
diff --git a/recipes-containers/buildah/buildah_git.bb b/recipes-containers/buildah/buildah_git.bb
index 80fa9929..7d1e88d3 100644
--- a/recipes-containers/buildah/buildah_git.bb
+++ b/recipes-containers/buildah/buildah_git.bb
@@ -6,8 +6,6 @@ DESCRIPTION = "A tool that facilitates building OCI container images."
6LICENSE = "Apache-2.0" 6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://src/github.com/containers/buildah/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" 7LIC_FILES_CHKSUM = "file://src/github.com/containers/buildah/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
8 8
9S = "${WORKDIR}/git"
10
11BUILDAH_VERSION = "1.39.1" 9BUILDAH_VERSION = "1.39.1"
12 10
13PV = "${BUILDAH_VERSION}" 11PV = "${BUILDAH_VERSION}"
diff --git a/recipes-containers/catatonit/catatonit_0.2.0.bb b/recipes-containers/catatonit/catatonit_0.2.0.bb
index 13537a4a..858d37e1 100644
--- a/recipes-containers/catatonit/catatonit_0.2.0.bb
+++ b/recipes-containers/catatonit/catatonit_0.2.0.bb
@@ -11,6 +11,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
11 11
12SRC_URI = "git://github.com/openSUSE/${BPN};protocol=https;branch=main" 12SRC_URI = "git://github.com/openSUSE/${BPN};protocol=https;branch=main"
13SRCREV = "7f0c9bb45d3490c3e7f579833c9b0689f78c8923" 13SRCREV = "7f0c9bb45d3490c3e7f579833c9b0689f78c8923"
14S = "${WORKDIR}/git"
15 14
16inherit autotools 15inherit autotools
diff --git a/recipes-containers/conmon/conmon_git.bb b/recipes-containers/conmon/conmon_git.bb
index 19475493..6ef0c7cc 100644
--- a/recipes-containers/conmon/conmon_git.bb
+++ b/recipes-containers/conmon/conmon_git.bb
@@ -16,8 +16,6 @@ SRC_URI = "\
16 16
17PV = "2.1.12+git" 17PV = "2.1.12+git"
18 18
19S = "${WORKDIR}/git"
20
21inherit pkgconfig 19inherit pkgconfig
22 20
23export GOCACHE = "${B}/.cache" 21export GOCACHE = "${B}/.cache"
diff --git a/recipes-containers/containerd/containerd_git.bb b/recipes-containers/containerd/containerd_git.bb
index c683fbeb..6b63f35a 100644
--- a/recipes-containers/containerd/containerd_git.bb
+++ b/recipes-containers/containerd/containerd_git.bb
@@ -27,7 +27,7 @@ CVE_VERSION = "v2.0.2"
27PROVIDES += "virtual/containerd containerd-opencontainers" 27PROVIDES += "virtual/containerd containerd-opencontainers"
28RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers" 28RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers"
29 29
30S = "${WORKDIR}/git/src/github.com/containerd/containerd/v2" 30S = "${UNPACKDIR}/git/src/github.com/containerd/containerd/v2"
31 31
32PV = "${CONTAINERD_VERSION}+git" 32PV = "${CONTAINERD_VERSION}+git"
33 33
@@ -43,7 +43,7 @@ do_configure[noexec] = "1"
43do_compile() { 43do_compile() {
44 export GOARCH="${TARGET_GOARCH}" 44 export GOARCH="${TARGET_GOARCH}"
45 45
46 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go:${WORKDIR}/git/" 46 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go:${UNPACKDIR}/git/"
47 export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go" 47 export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go"
48 48
49 # Pass the needed cflags/ldflags so that cgo 49 # Pass the needed cflags/ldflags so that cgo
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb
index 8a7b5ad3..4a0f2f05 100644
--- a/recipes-containers/criu/criu_git.bb
+++ b/recipes-containers/criu/criu_git.bb
@@ -31,8 +31,6 @@ COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
31DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet python3-protobuf-native" 31DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet python3-protobuf-native"
32RDEPENDS:${PN} = "bash cgroup-lite python3-ctypes python3-fcntl python3-protobuf" 32RDEPENDS:${PN} = "bash cgroup-lite python3-ctypes python3-fcntl python3-protobuf"
33 33
34S = "${WORKDIR}/git"
35
36# 34#
37# CRIU just can be built on ARMv7 and ARMv6, so the Makefile check 35# CRIU just can be built on ARMv7 and ARMv6, so the Makefile check
38# if the ARCH is ARMv7 or ARMv6. 36# if the ARCH is ARMv7 or ARMv6.
diff --git a/recipes-containers/crun/crun_git.bb b/recipes-containers/crun/crun_git.bb
index 0dbf362f..86c22615 100644
--- a/recipes-containers/crun/crun_git.bb
+++ b/recipes-containers/crun/crun_git.bb
@@ -11,14 +11,13 @@ SRCREV_yajl = "f344d21280c3e4094919fd318bc5ce75da91fc06"
11 11
12SRCREV_FORMAT = "crun_rspec" 12SRCREV_FORMAT = "crun_rspec"
13SRC_URI = "git://github.com/containers/crun.git;branch=main;name=crun;protocol=https \ 13SRC_URI = "git://github.com/containers/crun.git;branch=main;name=crun;protocol=https \
14 git://github.com/containers/libocispec.git;branch=main;name=libocispec;destsuffix=git/libocispec;protocol=https \ 14 git://github.com/containers/libocispec.git;branch=main;name=libocispec;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/libocispec;protocol=https \
15 git://github.com/opencontainers/runtime-spec.git;branch=main;name=rspec;destsuffix=git/libocispec/runtime-spec;protocol=https \ 15 git://github.com/opencontainers/runtime-spec.git;branch=main;name=rspec;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/libocispec/runtime-spec;protocol=https \
16 git://github.com/opencontainers/image-spec.git;branch=main;name=ispec;destsuffix=git/libocispec/image-spec;protocol=https \ 16 git://github.com/opencontainers/image-spec.git;branch=main;name=ispec;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/libocispec/image-spec;protocol=https \
17 git://github.com/containers/yajl.git;branch=main;name=yajl;destsuffix=git/libocispec/yajl;protocol=https \ 17 git://github.com/containers/yajl.git;branch=main;name=yajl;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/libocispec/yajl;protocol=https \
18 " 18 "
19 19
20PV = "v1.20.0+git${SRCREV_crun}" 20PV = "v1.20.0+git${SRCREV_crun}"
21S = "${WORKDIR}/git"
22 21
23inherit autotools-brokensep pkgconfig 22inherit autotools-brokensep pkgconfig
24 23
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb
index 495b0d17..44c383b5 100644
--- a/recipes-containers/docker-distribution/docker-distribution_git.bb
+++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
@@ -12,7 +12,7 @@ SRC_URI = "git://github.com/docker/distribution.git;branch=main;name=distributio
12PACKAGES =+ "docker-registry" 12PACKAGES =+ "docker-registry"
13 13
14PV = "v3.0.0-beta.1" 14PV = "v3.0.0-beta.1"
15S = "${WORKDIR}/git/src/github.com/distribution/distribution/v3" 15S = "${UNPACKDIR}/git/src/github.com/distribution/distribution/v3"
16 16
17GO_IMPORT = "import" 17GO_IMPORT = "import"
18 18
@@ -24,7 +24,7 @@ EXTRA_OEMAKE = "BUILDTAGS=''"
24 24
25do_compile() { 25do_compile() {
26 export GOARCH="${TARGET_GOARCH}" 26 export GOARCH="${TARGET_GOARCH}"
27 export GOPATH="${WORKDIR}/git/" 27 export GOPATH="${UNPACKDIR}/git/"
28 export GOROOT="${STAGING_LIBDIR}/go" 28 export GOROOT="${STAGING_LIBDIR}/go"
29 # Pass the needed cflags/ldflags so that cgo 29 # Pass the needed cflags/ldflags so that cgo
30 # can find the needed headers files and libraries 30 # can find the needed headers files and libraries
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"
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} \
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"
31PACKAGECONFIG[docker-init] = ",,,docker-init" 31PACKAGECONFIG[docker-init] = ",,,docker-init"
32PACKAGECONFIG[transient-config] = "transient-config" 32PACKAGECONFIG[transient-config] = "transient-config"
33 33
34
35GO_IMPORT = "import" 34GO_IMPORT = "import"
36S = "${WORKDIR}/git"
37
38
39 35
40inherit systemd update-rc.d 36inherit systemd update-rc.d
41inherit go 37inherit go
diff --git a/recipes-containers/go-digest/go-digest_git.bb b/recipes-containers/go-digest/go-digest_git.bb
index a1be705d..ff975844 100644
--- a/recipes-containers/go-digest/go-digest_git.bb
+++ b/recipes-containers/go-digest/go-digest_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=2d6fc0e85c3f118af64c85a78
7SRCNAME = "go-digest" 7SRCNAME = "go-digest"
8 8
9PKG_NAME = "github.com/opencontainers/${SRCNAME}" 9PKG_NAME = "github.com/opencontainers/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https"
11 11
12SRCREV = "65fac7b55eb714642e9359458656939349dcb766" 12SRCREV = "65fac7b55eb714642e9359458656939349dcb766"
13PV = "v1.0.0-rc0+git" 13PV = "v1.0.0-rc0+git"
14 14
15S = "${WORKDIR}/git"
16
17# NO-OP the do compile rule because this recipe is source only. 15# NO-OP the do compile rule because this recipe is source only.
18do_compile() { 16do_compile() {
19} 17}
diff --git a/recipes-containers/go-errors/go-errors_git.bb b/recipes-containers/go-errors/go-errors_git.bb
index 1236bb7b..94d4de52 100644
--- a/recipes-containers/go-errors/go-errors_git.bb
+++ b/recipes-containers/go-errors/go-errors_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=6fe682a02df52c6653f33bd0f
7SRCNAME = "errors" 7SRCNAME = "errors"
8 8
9PKG_NAME = "github.com/pkg/${SRCNAME}" 9PKG_NAME = "github.com/pkg/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https"
11 11
12SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e" 12SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e"
13PV = "v0.8.1+git" 13PV = "v0.8.1+git"
14 14
15S = "${WORKDIR}/git"
16
17# NO-OP the do compile rule because this recipe is source only. 15# NO-OP the do compile rule because this recipe is source only.
18do_compile() { 16do_compile() {
19} 17}
diff --git a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb
index 8dfb0692..4533cbcd 100644
--- a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb
+++ b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE.txt;md5=920d76114a32b0fb75b3f
7SRCNAME = "cobra" 7SRCNAME = "cobra"
8 8
9PKG_NAME = "github.com/spf13/${SRCNAME}" 9PKG_NAME = "github.com/spf13/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https" 10SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=main;protocol=https"
11 11
12SRCREV = "4dd4b25de38418174a6e859e8a32eaccca32dccc" 12SRCREV = "4dd4b25de38418174a6e859e8a32eaccca32dccc"
13PV = "v1.6.0+git" 13PV = "v1.6.0+git"
14 14
15S = "${WORKDIR}/git"
16
17# NO-OP the do compile rule because this recipe is source only. 15# NO-OP the do compile rule because this recipe is source only.
18do_compile() { 16do_compile() {
19} 17}
diff --git a/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb b/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb
index b3e41545..04195ca4 100644
--- a/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb
+++ b/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=1e8b7dc8b906737639131047a
7SRCNAME = "pflag" 7SRCNAME = "pflag"
8 8
9PKG_NAME = "github.com/spf13/${SRCNAME}" 9PKG_NAME = "github.com/spf13/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https"
11 11
12SRCREV = "d5e0c0615acee7028e1e2740a11102313be88de1" 12SRCREV = "d5e0c0615acee7028e1e2740a11102313be88de1"
13PV = "v1.0.5+git" 13PV = "v1.0.5+git"
14 14
15S = "${WORKDIR}/git"
16
17# NO-OP the do compile rule because this recipe is source only. 15# NO-OP the do compile rule because this recipe is source only.
18do_compile() { 16do_compile() {
19} 17}
diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb
index b6eb4946..7a35afd5 100644
--- a/recipes-containers/kubernetes/kubernetes_git.bb
+++ b/recipes-containers/kubernetes/kubernetes_git.bb
@@ -15,7 +15,7 @@ BBCLASSEXTEND = "devupstream:target"
15LIC_FILES_CHKSUM:class-devupstream = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 15LIC_FILES_CHKSUM:class-devupstream = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
16DEFAULT_PREFERENCE:class-devupstream = "-1" 16DEFAULT_PREFERENCE:class-devupstream = "-1"
17SRC_URI:class-devupstream = "git://github.com/kubernetes/kubernetes.git;branch=release-1.32;name=kubernetes;protocol=https \ 17SRC_URI:class-devupstream = "git://github.com/kubernetes/kubernetes.git;branch=release-1.32;name=kubernetes;protocol=https \
18 git://github.com/kubernetes/release;branch=master;name=kubernetes-release;destsuffix=git/release;protocol=https \ 18 git://github.com/kubernetes/release;branch=master;name=kubernetes-release;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/release;protocol=https \
19 " 19 "
20SRCREV_kubernetes:class-devupstream = "e3b5e621f07f0fee298f641ebded61b8f393fe27" 20SRCREV_kubernetes:class-devupstream = "e3b5e621f07f0fee298f641ebded61b8f393fe27"
21SRCREV_kubernetes-release:class-devupstream = "21382abdbfa8e6a43fd417306fa649cb651cc06e" 21SRCREV_kubernetes-release:class-devupstream = "21382abdbfa8e6a43fd417306fa649cb651cc06e"
@@ -23,8 +23,8 @@ PV:class-devupstream = "v1.28.2+git${SRCREV_kubernetes}"
23 23
24SRCREV_FORMAT ?= "kubernetes_release" 24SRCREV_FORMAT ?= "kubernetes_release"
25 25
26SRC_URI = "git://github.com/kubernetes/kubernetes.git;branch=release-1.32;name=kubernetes;protocol=https;destsuffix=git/src/github.com/kubernetes/kubernetes \ 26SRC_URI = "git://github.com/kubernetes/kubernetes.git;branch=release-1.32;name=kubernetes;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/github.com/kubernetes/kubernetes \
27 git://github.com/kubernetes/release;branch=master;name=kubernetes-release;destsuffix=git/release;protocol=https" 27 git://github.com/kubernetes/release;branch=master;name=kubernetes-release;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/release;protocol=https"
28 28
29SRC_URI:append = " \ 29SRC_URI:append = " \
30 file://0001-hack-lib-golang.sh-use-CC-from-environment.patch \ 30 file://0001-hack-lib-golang.sh-use-CC-from-environment.patch \
@@ -45,7 +45,7 @@ LICENSE = "Apache-2.0"
45LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 45LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
46 46
47GO_IMPORT = "import" 47GO_IMPORT = "import"
48S = "${WORKDIR}/git/src/github.com/kubernetes/kubernetes" 48S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}/src/github.com/kubernetes/kubernetes"
49 49
50inherit systemd 50inherit systemd
51inherit go 51inherit go
@@ -55,7 +55,7 @@ inherit cni_networking
55COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux' 55COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux'
56 56
57do_compile() { 57do_compile() {
58 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go:${WORKDIR}/git/" 58 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go:${UNPACKDIR}/git/"
59 cd ${S} 59 cd ${S}
60 60
61 # Build the host tools first, using the host compiler 61 # Build the host tools first, using the host compiler
@@ -107,8 +107,8 @@ do_install() {
107 107
108 install -m 755 -D ${S}/_output/local/bin/${TARGET_GOOS}/${TARGET_GOARCH}/* ${D}/${bindir} 108 install -m 755 -D ${S}/_output/local/bin/${TARGET_GOOS}/${TARGET_GOARCH}/* ${D}/${bindir}
109 109
110 install -m 0644 ${WORKDIR}/git/release/cmd/kubepkg/templates/latest/deb/kubelet/lib/systemd/system/kubelet.service ${D}${systemd_unitdir}/system/ 110 install -m 0644 ${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}/release/cmd/kubepkg/templates/latest/deb/kubelet/lib/systemd/system/kubelet.service ${D}${systemd_unitdir}/system/
111 install -m 0644 ${WORKDIR}/git/release/cmd/kubepkg/templates/latest/deb/kubeadm/10-kubeadm.conf ${D}${systemd_unitdir}/system/kubelet.service.d/ 111 install -m 0644 ${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}/release/cmd/kubepkg/templates/latest/deb/kubeadm/10-kubeadm.conf ${D}${systemd_unitdir}/system/kubelet.service.d/
112 112
113 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 113 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
114 install -d "${D}${BIN_PREFIX}${base_bindir}" 114 install -d "${D}${BIN_PREFIX}${base_bindir}"
diff --git a/recipes-containers/lxc/lxc_git.bb b/recipes-containers/lxc/lxc_git.bb
index 63123590..b3011f16 100644
--- a/recipes-containers/lxc/lxc_git.bb
+++ b/recipes-containers/lxc/lxc_git.bb
@@ -52,8 +52,6 @@ SRC_URI = "git://github.com/lxc/lxc.git;branch=stable-6.0;protocol=https \
52SRCREV = "fe31d844e882d5cc176a7935a93b14b4b2823992" 52SRCREV = "fe31d844e882d5cc176a7935a93b14b4b2823992"
53PV = "v6.0.3" 53PV = "v6.0.3"
54 54
55S = "${WORKDIR}/git"
56
57# Let's not configure for the host distro. 55# Let's not configure for the host distro.
58# 56#
59PTEST_CONF = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-Dtests=true', '', d)}" 57PTEST_CONF = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-Dtests=true', '', d)}"
diff --git a/recipes-containers/nerdctl/nerdctl_git.bb b/recipes-containers/nerdctl/nerdctl_git.bb
index 536c470b..3f87e564 100644
--- a/recipes-containers/nerdctl/nerdctl_git.bb
+++ b/recipes-containers/nerdctl/nerdctl_git.bb
@@ -28,8 +28,6 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd
28 28
29GO_IMPORT = "import" 29GO_IMPORT = "import"
30 30
31S = "${WORKDIR}/git"
32
33PV = "v2.0.3" 31PV = "v2.0.3"
34 32
35NERDCTL_PKG = "github.com/containerd/nerdctl" 33NERDCTL_PKG = "github.com/containerd/nerdctl"
diff --git a/recipes-containers/netavark/netavark_1.14.1.bb b/recipes-containers/netavark/netavark_1.14.1.bb
index 13149cdd..c4746a17 100644
--- a/recipes-containers/netavark/netavark_1.14.1.bb
+++ b/recipes-containers/netavark/netavark_1.14.1.bb
@@ -14,8 +14,6 @@ SRC_URI = "git://github.com/containers/netavark.git;protocol=https;branch=v1.14
14 file://run-ptest" 14 file://run-ptest"
15require ${BPN}-crates.inc 15require ${BPN}-crates.inc
16 16
17S = "${WORKDIR}/git"
18
19PACKAGECONFIG ?= "aardvark-dns" 17PACKAGECONFIG ?= "aardvark-dns"
20 18
21# From the documentation of netavark 19# From the documentation of netavark
diff --git a/recipes-containers/oci-image-spec/oci-image-spec_git.bb b/recipes-containers/oci-image-spec/oci-image-spec_git.bb
index 46b72c21..0e5b7ad5 100644
--- a/recipes-containers/oci-image-spec/oci-image-spec_git.bb
+++ b/recipes-containers/oci-image-spec/oci-image-spec_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=27ef03aa2da6e424307f102e8
7SRCNAME = "image-spec" 7SRCNAME = "image-spec"
8 8
9PKG_NAME = "github.com/opencontainers/${SRCNAME}" 9PKG_NAME = "github.com/opencontainers/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https" 10SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=main;protocol=https"
11 11
12SRCREV = "39ab2d54cfa8fe1bee1ff20001264986d92ab85a" 12SRCREV = "39ab2d54cfa8fe1bee1ff20001264986d92ab85a"
13PV = "v1.1.0" 13PV = "v1.1.0"
14 14
15S = "${WORKDIR}/git"
16
17# NO-OP the do compile rule because this recipe is source only. 15# NO-OP the do compile rule because this recipe is source only.
18do_compile() { 16do_compile() {
19} 17}
diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
index c2e07889..36026214 100644
--- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
+++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
@@ -18,14 +18,14 @@ inherit go
18# go package. 18# go package.
19EXTRA_OEMAKE = "BUILDTAGS=''" 19EXTRA_OEMAKE = "BUILDTAGS=''"
20 20
21S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools" 21S = "${UNPACKDIR}/git/src/github.com/opencontainers/image-tools"
22 22
23COMPATIBLE_HOST:riscv64 = "null" 23COMPATIBLE_HOST:riscv64 = "null"
24 24
25do_compile() { 25do_compile() {
26 export GOARCH="${TARGET_GOARCH}" 26 export GOARCH="${TARGET_GOARCH}"
27 export GOROOT="${STAGING_LIBDIR}/go" 27 export GOROOT="${STAGING_LIBDIR}/go"
28 export GOPATH="${WORKDIR}/git/" 28 export GOPATH="${UNPACKDIR}/git/"
29 29
30 # Pass the needed cflags/ldflags so that cgo 30 # Pass the needed cflags/ldflags so that cgo
31 # can find the needed headers files and libraries 31 # can find the needed headers files and libraries
diff --git a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb
index d1a03969..24fce75a 100644
--- a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb
+++ b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=b355a61a394a504dacde901c9
7SRCNAME = "runtime-spec" 7SRCNAME = "runtime-spec"
8 8
9PKG_NAME = "github.com/opencontainers/${SRCNAME}" 9PKG_NAME = "github.com/opencontainers/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https" 10SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=main;protocol=https"
11 11
12SRCREV = "701738418b9555d5213337a0991fd0ffd6c37808" 12SRCREV = "701738418b9555d5213337a0991fd0ffd6c37808"
13PV = "v1.2.0+git" 13PV = "v1.2.0+git"
14 14
15S = "${WORKDIR}/git"
16
17# NO-OP the do compile rule because this recipe is source only. 15# NO-OP the do compile rule because this recipe is source only.
18do_compile() { 16do_compile() {
19} 17}
diff --git a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
index 81bebfe2..81f51f9c 100644
--- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
+++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
@@ -16,11 +16,11 @@ INSANE_SKIP:${PN} += "ldflags textrel"
16inherit goarch 16inherit goarch
17inherit go 17inherit go
18 18
19S = "${WORKDIR}/git/src/github.com/opencontainers/runtime-tools" 19S = "${UNPACKDIR}/git/src/github.com/opencontainers/runtime-tools"
20 20
21do_compile() { 21do_compile() {
22 export GOARCH="${TARGET_GOARCH}" 22 export GOARCH="${TARGET_GOARCH}"
23 export GOPATH="${WORKDIR}/git/" 23 export GOPATH="${UNPACKDIR}/git/"
24 export GOROOT="${STAGING_LIBDIR}/go" 24 export GOROOT="${STAGING_LIBDIR}/go"
25 25
26 # Pass the needed cflags/ldflags so that cgo 26 # Pass the needed cflags/ldflags so that cgo
diff --git a/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb b/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb
index 0d5ce5f5..631b29e3 100644
--- a/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb
+++ b/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb
@@ -14,7 +14,6 @@ SRC_URI = "git://github.com/projectatomic/oci-systemd-hook;branch=master;protoco
14" 14"
15 15
16PV = "0.2.0+git" 16PV = "0.2.0+git"
17S = "${WORKDIR}/git"
18 17
19inherit autotools pkgconfig 18inherit autotools pkgconfig
20 19
diff --git a/recipes-containers/podman-compose/podman-compose_git.bb b/recipes-containers/podman-compose/podman-compose_git.bb
index 7451dffb..26e1865f 100644
--- a/recipes-containers/podman-compose/podman-compose_git.bb
+++ b/recipes-containers/podman-compose/podman-compose_git.bb
@@ -9,8 +9,6 @@ SRC_URI = "git://github.com/containers/podman-compose.git;branch=main;protocol=h
9 9
10SRCREV = "4d899edeb3d0622a986d90a6b2d7356aa550723e" 10SRCREV = "4d899edeb3d0622a986d90a6b2d7356aa550723e"
11 11
12S = "${WORKDIR}/git"
13
14DEPENDS += "python3-pyyaml-native" 12DEPENDS += "python3-pyyaml-native"
15 13
16RDEPENDS:${PN} += "\ 14RDEPENDS:${PN} += "\
diff --git a/recipes-containers/podman-tui/podman-tui_git.bb b/recipes-containers/podman-tui/podman-tui_git.bb
index 02f785fa..3bf1dcf9 100644
--- a/recipes-containers/podman-tui/podman-tui_git.bb
+++ b/recipes-containers/podman-tui/podman-tui_git.bb
@@ -32,8 +32,6 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=86d3f3a95c324c9479bd8986968f43
32 32
33GO_IMPORT = "import" 33GO_IMPORT = "import"
34 34
35S = "${WORKDIR}/git"
36
37PV = "v1.4.0+git" 35PV = "v1.4.0+git"
38 36
39PODMAN_PKG = "github.com/containers/podman-tui" 37PODMAN_PKG = "github.com/containers/podman-tui"
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 8d8e0f05..616ba3f0 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -27,8 +27,6 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3d9b931fa23ab1cacd0087f9e2ee12
27 27
28GO_IMPORT = "import" 28GO_IMPORT = "import"
29 29
30S = "${WORKDIR}/git"
31
32PV = "v5.4.1" 30PV = "v5.4.1"
33 31
34CVE_STATUS[CVE-2022-2989] = "fixed-version: fixed since v4.3.0" 32CVE_STATUS[CVE-2022-2989] = "fixed-version: fixed since v4.3.0"
diff --git a/recipes-containers/riddler/riddler_git.bb b/recipes-containers/riddler/riddler_git.bb
index 52630563..e885c4c1 100644
--- a/recipes-containers/riddler/riddler_git.bb
+++ b/recipes-containers/riddler/riddler_git.bb
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/jfrazelle/riddler;branch=master;protocol=https;dests
10SRCREV = "66698f2a5cb6854a1095673a15dcc253f0e28f93" 10SRCREV = "66698f2a5cb6854a1095673a15dcc253f0e28f93"
11PV = "v0.6.4+git" 11PV = "v0.6.4+git"
12 12
13S = "${WORKDIR}/git/src/github.com/genuinetools/riddler" 13S = "${UNPACKDIR}/git/src/github.com/genuinetools/riddler"
14GO_IMPORT = "github.com/jessfraz/riddler" 14GO_IMPORT = "github.com/jessfraz/riddler"
15 15
16inherit goarch 16inherit goarch
@@ -28,7 +28,7 @@ do_compile() {
28 export GOARCH="${TARGET_GOARCH}" 28 export GOARCH="${TARGET_GOARCH}"
29 export GOROOT="${STAGING_LIBDIR}/go" 29 export GOROOT="${STAGING_LIBDIR}/go"
30 # export GOPATH="${S}/src/import/vendor:${WORKDIR}/git/" 30 # export GOPATH="${S}/src/import/vendor:${WORKDIR}/git/"
31 export GOPATH="${WORKDIR}/git/" 31 export GOPATH="${UNPACKDIR}/git/"
32 32
33 # Pass the needed cflags/ldflags so that cgo 33 # Pass the needed cflags/ldflags so that cgo
34 # can find the needed headers files and libraries 34 # can find the needed headers files and libraries
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc
index bcd7f791..b834ab14 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -6,8 +6,6 @@ DESCRIPTION = "runc is a CLI tool for spawning and running containers according
6LICENSE = "Apache-2.0" 6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=435b266b3899aa8a959f17d41c56def8" 7LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=435b266b3899aa8a959f17d41c56def8"
8 8
9S = "${WORKDIR}/git"
10
11PV = "${RUNC_VERSION}+git${SRCPV}" 9PV = "${RUNC_VERSION}+git${SRCPV}"
12 10
13inherit go 11inherit go
diff --git a/recipes-containers/singularity/singularity_git.bb b/recipes-containers/singularity/singularity_git.bb
index 72171b39..791c6f3d 100644
--- a/recipes-containers/singularity/singularity_git.bb
+++ b/recipes-containers/singularity/singularity_git.bb
@@ -17,8 +17,6 @@ SRC_URI = "git://github.com/singularityware/singularity.git;protocol=https;branc
17PV = "2.3.1+git" 17PV = "2.3.1+git"
18SRCREV = "e214d4ebf0a1274b1c63b095fd55ae61c7e92947" 18SRCREV = "e214d4ebf0a1274b1c63b095fd55ae61c7e92947"
19 19
20S = "${WORKDIR}/git"
21
22inherit python3native autotools-brokensep 20inherit python3native autotools-brokensep
23EXTRA_OECONF = "--prefix=/usr/local" 21EXTRA_OECONF = "--prefix=/usr/local"
24 22
diff --git a/recipes-containers/skopeo/skopeo_git.bb b/recipes-containers/skopeo/skopeo_git.bb
index fe8cfa16..911b4241 100644
--- a/recipes-containers/skopeo/skopeo_git.bb
+++ b/recipes-containers/skopeo/skopeo_git.bb
@@ -30,7 +30,7 @@ SRCREV = "e8d9f916e04364c128a939535889dc2da74162b5"
30PV = "v1.18.0+git" 30PV = "v1.18.0+git"
31GO_IMPORT = "import" 31GO_IMPORT = "import"
32 32
33S = "${WORKDIR}/git/src/github.com/containers/skopeo" 33S = "${UNPACKDIR}/git/src/github.com/containers/skopeo"
34 34
35inherit goarch 35inherit goarch
36inherit pkgconfig 36inherit pkgconfig
@@ -48,7 +48,7 @@ EXTRA_OEMAKE = "BUILDTAGS=''"
48do_compile() { 48do_compile() {
49 export GOARCH="${TARGET_GOARCH}" 49 export GOARCH="${TARGET_GOARCH}"
50 50
51 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go:${WORKDIR}/git/" 51 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go:${UNPACKDIR}/git/"
52 cd ${S} 52 cd ${S}
53 53
54 # Pass the needed cflags/ldflags so that cgo 54 # Pass the needed cflags/ldflags so that cgo
diff --git a/recipes-containers/sloci-image/sloci-image_git.bb b/recipes-containers/sloci-image/sloci-image_git.bb
index 4bbf06e2..e0bdad39 100644
--- a/recipes-containers/sloci-image/sloci-image_git.bb
+++ b/recipes-containers/sloci-image/sloci-image_git.bb
@@ -11,8 +11,6 @@ DEPENDS = ""
11SRCREV = "4015e49763e5a738026a5bbfcf32b38b5a4fa650" 11SRCREV = "4015e49763e5a738026a5bbfcf32b38b5a4fa650"
12PV = "v0.1.0+git" 12PV = "v0.1.0+git"
13 13
14S = "${WORKDIR}/git"
15
16do_compile() { 14do_compile() {
17 : 15 :
18} 16}
diff --git a/recipes-containers/tini/tini_0.19.0.bb b/recipes-containers/tini/tini_0.19.0.bb
index 1f3ae8b2..c3ca25d0 100644
--- a/recipes-containers/tini/tini_0.19.0.bb
+++ b/recipes-containers/tini/tini_0.19.0.bb
@@ -15,8 +15,6 @@ SRC_URI = " \
15LICENSE = "MIT" 15LICENSE = "MIT"
16LIC_FILES_CHKSUM = "file://LICENSE;md5=ffc9091894702bc5dcf4cc0085561ef5" 16LIC_FILES_CHKSUM = "file://LICENSE;md5=ffc9091894702bc5dcf4cc0085561ef5"
17 17
18S = "${WORKDIR}/git"
19
20BBCLASSEXTEND = "native" 18BBCLASSEXTEND = "native"
21 19
22# tini links with -static, so no PIE for us 20# tini links with -static, so no PIE for us
diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git.bb
index 84f7a40f..a8ee152e 100644
--- a/recipes-containers/umoci/umoci_git.bb
+++ b/recipes-containers/umoci/umoci_git.bb
@@ -11,7 +11,7 @@ SRC_URI = "git://github.com/opencontainers/umoci.git;branch=main;name=umoci;dest
11 " 11 "
12 12
13PV = "v0.4.7+git" 13PV = "v0.4.7+git"
14S = "${WORKDIR}/github.com/opencontainers/umoci" 14S = "${UNPACKDIR}/github.com/opencontainers/umoci"
15GO_IMPORT = "github.com/opencontainers/umoci" 15GO_IMPORT = "github.com/opencontainers/umoci"
16 16
17inherit goarch 17inherit goarch
@@ -39,7 +39,7 @@ do_compile:class-native () {
39 export CC="${BUILD_CC}" 39 export CC="${BUILD_CC}"
40 export LD="${BUILD_LD}" 40 export LD="${BUILD_LD}"
41 41
42 export GOPATH="${WORKDIR}/git/" 42 export GOPATH="${UNPACKDIR}/git/"
43 export GO111MODULE=off 43 export GO111MODULE=off
44 44
45 export STATIC_BUILD_FLAGS="-trimpath" 45 export STATIC_BUILD_FLAGS="-trimpath"
diff --git a/recipes-extended/virtiofsd/virtiofsd_1.7.0.bb b/recipes-extended/virtiofsd/virtiofsd_1.13.2.bb
index b8a93820..b8a93820 100644
--- a/recipes-extended/virtiofsd/virtiofsd_1.7.0.bb
+++ b/recipes-extended/virtiofsd/virtiofsd_1.13.2.bb