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 | |
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>
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" |
13 | require ${BPN}-crates.inc | 13 | require ${BPN}-crates.inc |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit cargo cargo-update-recipe-crates features_check ptest | 15 | inherit 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." | |||
6 | LICENSE = "Apache-2.0" | 6 | LICENSE = "Apache-2.0" |
7 | LIC_FILES_CHKSUM = "file://src/github.com/containers/buildah/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" | 7 | LIC_FILES_CHKSUM = "file://src/github.com/containers/buildah/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
8 | 8 | ||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | BUILDAH_VERSION = "1.39.1" | 9 | BUILDAH_VERSION = "1.39.1" |
12 | 10 | ||
13 | PV = "${BUILDAH_VERSION}" | 11 | PV = "${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 | ||
12 | SRC_URI = "git://github.com/openSUSE/${BPN};protocol=https;branch=main" | 12 | SRC_URI = "git://github.com/openSUSE/${BPN};protocol=https;branch=main" |
13 | SRCREV = "7f0c9bb45d3490c3e7f579833c9b0689f78c8923" | 13 | SRCREV = "7f0c9bb45d3490c3e7f579833c9b0689f78c8923" |
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | inherit autotools | 15 | inherit 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 | ||
17 | PV = "2.1.12+git" | 17 | PV = "2.1.12+git" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit pkgconfig | 19 | inherit pkgconfig |
22 | 20 | ||
23 | export GOCACHE = "${B}/.cache" | 21 | export 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" | |||
27 | PROVIDES += "virtual/containerd containerd-opencontainers" | 27 | PROVIDES += "virtual/containerd containerd-opencontainers" |
28 | RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers" | 28 | RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers" |
29 | 29 | ||
30 | S = "${WORKDIR}/git/src/github.com/containerd/containerd/v2" | 30 | S = "${UNPACKDIR}/git/src/github.com/containerd/containerd/v2" |
31 | 31 | ||
32 | PV = "${CONTAINERD_VERSION}+git" | 32 | PV = "${CONTAINERD_VERSION}+git" |
33 | 33 | ||
@@ -43,7 +43,7 @@ do_configure[noexec] = "1" | |||
43 | do_compile() { | 43 | do_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" | |||
31 | DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet python3-protobuf-native" | 31 | DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet python3-protobuf-native" |
32 | RDEPENDS:${PN} = "bash cgroup-lite python3-ctypes python3-fcntl python3-protobuf" | 32 | RDEPENDS:${PN} = "bash cgroup-lite python3-ctypes python3-fcntl python3-protobuf" |
33 | 33 | ||
34 | S = "${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 | ||
12 | SRCREV_FORMAT = "crun_rspec" | 12 | SRCREV_FORMAT = "crun_rspec" |
13 | SRC_URI = "git://github.com/containers/crun.git;branch=main;name=crun;protocol=https \ | 13 | SRC_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 | ||
20 | PV = "v1.20.0+git${SRCREV_crun}" | 20 | PV = "v1.20.0+git${SRCREV_crun}" |
21 | S = "${WORKDIR}/git" | ||
22 | 21 | ||
23 | inherit autotools-brokensep pkgconfig | 22 | inherit 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 | |||
12 | PACKAGES =+ "docker-registry" | 12 | PACKAGES =+ "docker-registry" |
13 | 13 | ||
14 | PV = "v3.0.0-beta.1" | 14 | PV = "v3.0.0-beta.1" |
15 | S = "${WORKDIR}/git/src/github.com/distribution/distribution/v3" | 15 | S = "${UNPACKDIR}/git/src/github.com/distribution/distribution/v3" |
16 | 16 | ||
17 | GO_IMPORT = "import" | 17 | GO_IMPORT = "import" |
18 | 18 | ||
@@ -24,7 +24,7 @@ EXTRA_OEMAKE = "BUILDTAGS=''" | |||
24 | 24 | ||
25 | do_compile() { | 25 | do_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" | |||
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 |
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 | |||
7 | SRCNAME = "go-digest" | 7 | SRCNAME = "go-digest" |
8 | 8 | ||
9 | PKG_NAME = "github.com/opencontainers/${SRCNAME}" | 9 | PKG_NAME = "github.com/opencontainers/${SRCNAME}" |
10 | SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https" |
11 | 11 | ||
12 | SRCREV = "65fac7b55eb714642e9359458656939349dcb766" | 12 | SRCREV = "65fac7b55eb714642e9359458656939349dcb766" |
13 | PV = "v1.0.0-rc0+git" | 13 | PV = "v1.0.0-rc0+git" |
14 | 14 | ||
15 | S = "${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. |
18 | do_compile() { | 16 | do_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 | |||
7 | SRCNAME = "errors" | 7 | SRCNAME = "errors" |
8 | 8 | ||
9 | PKG_NAME = "github.com/pkg/${SRCNAME}" | 9 | PKG_NAME = "github.com/pkg/${SRCNAME}" |
10 | SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https" |
11 | 11 | ||
12 | SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e" | 12 | SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e" |
13 | PV = "v0.8.1+git" | 13 | PV = "v0.8.1+git" |
14 | 14 | ||
15 | S = "${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. |
18 | do_compile() { | 16 | do_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 | |||
7 | SRCNAME = "cobra" | 7 | SRCNAME = "cobra" |
8 | 8 | ||
9 | PKG_NAME = "github.com/spf13/${SRCNAME}" | 9 | PKG_NAME = "github.com/spf13/${SRCNAME}" |
10 | SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=main;protocol=https" |
11 | 11 | ||
12 | SRCREV = "4dd4b25de38418174a6e859e8a32eaccca32dccc" | 12 | SRCREV = "4dd4b25de38418174a6e859e8a32eaccca32dccc" |
13 | PV = "v1.6.0+git" | 13 | PV = "v1.6.0+git" |
14 | 14 | ||
15 | S = "${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. |
18 | do_compile() { | 16 | do_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 | |||
7 | SRCNAME = "pflag" | 7 | SRCNAME = "pflag" |
8 | 8 | ||
9 | PKG_NAME = "github.com/spf13/${SRCNAME}" | 9 | PKG_NAME = "github.com/spf13/${SRCNAME}" |
10 | SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https" |
11 | 11 | ||
12 | SRCREV = "d5e0c0615acee7028e1e2740a11102313be88de1" | 12 | SRCREV = "d5e0c0615acee7028e1e2740a11102313be88de1" |
13 | PV = "v1.0.5+git" | 13 | PV = "v1.0.5+git" |
14 | 14 | ||
15 | S = "${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. |
18 | do_compile() { | 16 | do_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" | |||
15 | LIC_FILES_CHKSUM:class-devupstream = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 15 | LIC_FILES_CHKSUM:class-devupstream = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
16 | DEFAULT_PREFERENCE:class-devupstream = "-1" | 16 | DEFAULT_PREFERENCE:class-devupstream = "-1" |
17 | SRC_URI:class-devupstream = "git://github.com/kubernetes/kubernetes.git;branch=release-1.32;name=kubernetes;protocol=https \ | 17 | SRC_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 | " |
20 | SRCREV_kubernetes:class-devupstream = "e3b5e621f07f0fee298f641ebded61b8f393fe27" | 20 | SRCREV_kubernetes:class-devupstream = "e3b5e621f07f0fee298f641ebded61b8f393fe27" |
21 | SRCREV_kubernetes-release:class-devupstream = "21382abdbfa8e6a43fd417306fa649cb651cc06e" | 21 | SRCREV_kubernetes-release:class-devupstream = "21382abdbfa8e6a43fd417306fa649cb651cc06e" |
@@ -23,8 +23,8 @@ PV:class-devupstream = "v1.28.2+git${SRCREV_kubernetes}" | |||
23 | 23 | ||
24 | SRCREV_FORMAT ?= "kubernetes_release" | 24 | SRCREV_FORMAT ?= "kubernetes_release" |
25 | 25 | ||
26 | SRC_URI = "git://github.com/kubernetes/kubernetes.git;branch=release-1.32;name=kubernetes;protocol=https;destsuffix=git/src/github.com/kubernetes/kubernetes \ | 26 | SRC_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 | ||
29 | SRC_URI:append = " \ | 29 | SRC_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" | |||
45 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 45 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
46 | 46 | ||
47 | GO_IMPORT = "import" | 47 | GO_IMPORT = "import" |
48 | S = "${WORKDIR}/git/src/github.com/kubernetes/kubernetes" | 48 | S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}/src/github.com/kubernetes/kubernetes" |
49 | 49 | ||
50 | inherit systemd | 50 | inherit systemd |
51 | inherit go | 51 | inherit go |
@@ -55,7 +55,7 @@ inherit cni_networking | |||
55 | COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux' | 55 | COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux' |
56 | 56 | ||
57 | do_compile() { | 57 | do_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 \ | |||
52 | SRCREV = "fe31d844e882d5cc176a7935a93b14b4b2823992" | 52 | SRCREV = "fe31d844e882d5cc176a7935a93b14b4b2823992" |
53 | PV = "v6.0.3" | 53 | PV = "v6.0.3" |
54 | 54 | ||
55 | S = "${WORKDIR}/git" | ||
56 | |||
57 | # Let's not configure for the host distro. | 55 | # Let's not configure for the host distro. |
58 | # | 56 | # |
59 | PTEST_CONF = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-Dtests=true', '', d)}" | 57 | PTEST_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 | ||
29 | GO_IMPORT = "import" | 29 | GO_IMPORT = "import" |
30 | 30 | ||
31 | S = "${WORKDIR}/git" | ||
32 | |||
33 | PV = "v2.0.3" | 31 | PV = "v2.0.3" |
34 | 32 | ||
35 | NERDCTL_PKG = "github.com/containerd/nerdctl" | 33 | NERDCTL_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" |
15 | require ${BPN}-crates.inc | 15 | require ${BPN}-crates.inc |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | PACKAGECONFIG ?= "aardvark-dns" | 17 | PACKAGECONFIG ?= "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 | |||
7 | SRCNAME = "image-spec" | 7 | SRCNAME = "image-spec" |
8 | 8 | ||
9 | PKG_NAME = "github.com/opencontainers/${SRCNAME}" | 9 | PKG_NAME = "github.com/opencontainers/${SRCNAME}" |
10 | SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=main;protocol=https" |
11 | 11 | ||
12 | SRCREV = "39ab2d54cfa8fe1bee1ff20001264986d92ab85a" | 12 | SRCREV = "39ab2d54cfa8fe1bee1ff20001264986d92ab85a" |
13 | PV = "v1.1.0" | 13 | PV = "v1.1.0" |
14 | 14 | ||
15 | S = "${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. |
18 | do_compile() { | 16 | do_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. |
19 | EXTRA_OEMAKE = "BUILDTAGS=''" | 19 | EXTRA_OEMAKE = "BUILDTAGS=''" |
20 | 20 | ||
21 | S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools" | 21 | S = "${UNPACKDIR}/git/src/github.com/opencontainers/image-tools" |
22 | 22 | ||
23 | COMPATIBLE_HOST:riscv64 = "null" | 23 | COMPATIBLE_HOST:riscv64 = "null" |
24 | 24 | ||
25 | do_compile() { | 25 | do_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 | |||
7 | SRCNAME = "runtime-spec" | 7 | SRCNAME = "runtime-spec" |
8 | 8 | ||
9 | PKG_NAME = "github.com/opencontainers/${SRCNAME}" | 9 | PKG_NAME = "github.com/opencontainers/${SRCNAME}" |
10 | SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=main;protocol=https" |
11 | 11 | ||
12 | SRCREV = "701738418b9555d5213337a0991fd0ffd6c37808" | 12 | SRCREV = "701738418b9555d5213337a0991fd0ffd6c37808" |
13 | PV = "v1.2.0+git" | 13 | PV = "v1.2.0+git" |
14 | 14 | ||
15 | S = "${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. |
18 | do_compile() { | 16 | do_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" | |||
16 | inherit goarch | 16 | inherit goarch |
17 | inherit go | 17 | inherit go |
18 | 18 | ||
19 | S = "${WORKDIR}/git/src/github.com/opencontainers/runtime-tools" | 19 | S = "${UNPACKDIR}/git/src/github.com/opencontainers/runtime-tools" |
20 | 20 | ||
21 | do_compile() { | 21 | do_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 | ||
16 | PV = "0.2.0+git" | 16 | PV = "0.2.0+git" |
17 | S = "${WORKDIR}/git" | ||
18 | 17 | ||
19 | inherit autotools pkgconfig | 18 | inherit 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 | ||
10 | SRCREV = "4d899edeb3d0622a986d90a6b2d7356aa550723e" | 10 | SRCREV = "4d899edeb3d0622a986d90a6b2d7356aa550723e" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | DEPENDS += "python3-pyyaml-native" | 12 | DEPENDS += "python3-pyyaml-native" |
15 | 13 | ||
16 | RDEPENDS:${PN} += "\ | 14 | RDEPENDS:${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 | ||
33 | GO_IMPORT = "import" | 33 | GO_IMPORT = "import" |
34 | 34 | ||
35 | S = "${WORKDIR}/git" | ||
36 | |||
37 | PV = "v1.4.0+git" | 35 | PV = "v1.4.0+git" |
38 | 36 | ||
39 | PODMAN_PKG = "github.com/containers/podman-tui" | 37 | PODMAN_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 | ||
28 | GO_IMPORT = "import" | 28 | GO_IMPORT = "import" |
29 | 29 | ||
30 | S = "${WORKDIR}/git" | ||
31 | |||
32 | PV = "v5.4.1" | 30 | PV = "v5.4.1" |
33 | 31 | ||
34 | CVE_STATUS[CVE-2022-2989] = "fixed-version: fixed since v4.3.0" | 32 | CVE_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 | |||
10 | SRCREV = "66698f2a5cb6854a1095673a15dcc253f0e28f93" | 10 | SRCREV = "66698f2a5cb6854a1095673a15dcc253f0e28f93" |
11 | PV = "v0.6.4+git" | 11 | PV = "v0.6.4+git" |
12 | 12 | ||
13 | S = "${WORKDIR}/git/src/github.com/genuinetools/riddler" | 13 | S = "${UNPACKDIR}/git/src/github.com/genuinetools/riddler" |
14 | GO_IMPORT = "github.com/jessfraz/riddler" | 14 | GO_IMPORT = "github.com/jessfraz/riddler" |
15 | 15 | ||
16 | inherit goarch | 16 | inherit 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 | |||
6 | LICENSE = "Apache-2.0" | 6 | LICENSE = "Apache-2.0" |
7 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=435b266b3899aa8a959f17d41c56def8" | 7 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=435b266b3899aa8a959f17d41c56def8" |
8 | 8 | ||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | PV = "${RUNC_VERSION}+git${SRCPV}" | 9 | PV = "${RUNC_VERSION}+git${SRCPV}" |
12 | 10 | ||
13 | inherit go | 11 | inherit 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 | |||
17 | PV = "2.3.1+git" | 17 | PV = "2.3.1+git" |
18 | SRCREV = "e214d4ebf0a1274b1c63b095fd55ae61c7e92947" | 18 | SRCREV = "e214d4ebf0a1274b1c63b095fd55ae61c7e92947" |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | inherit python3native autotools-brokensep | 20 | inherit python3native autotools-brokensep |
23 | EXTRA_OECONF = "--prefix=/usr/local" | 21 | EXTRA_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" | |||
30 | PV = "v1.18.0+git" | 30 | PV = "v1.18.0+git" |
31 | GO_IMPORT = "import" | 31 | GO_IMPORT = "import" |
32 | 32 | ||
33 | S = "${WORKDIR}/git/src/github.com/containers/skopeo" | 33 | S = "${UNPACKDIR}/git/src/github.com/containers/skopeo" |
34 | 34 | ||
35 | inherit goarch | 35 | inherit goarch |
36 | inherit pkgconfig | 36 | inherit pkgconfig |
@@ -48,7 +48,7 @@ EXTRA_OEMAKE = "BUILDTAGS=''" | |||
48 | do_compile() { | 48 | do_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 = "" | |||
11 | SRCREV = "4015e49763e5a738026a5bbfcf32b38b5a4fa650" | 11 | SRCREV = "4015e49763e5a738026a5bbfcf32b38b5a4fa650" |
12 | PV = "v0.1.0+git" | 12 | PV = "v0.1.0+git" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | do_compile() { | 14 | do_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 = " \ | |||
15 | LICENSE = "MIT" | 15 | LICENSE = "MIT" |
16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ffc9091894702bc5dcf4cc0085561ef5" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ffc9091894702bc5dcf4cc0085561ef5" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | BBCLASSEXTEND = "native" | 18 | BBCLASSEXTEND = "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 | ||
13 | PV = "v0.4.7+git" | 13 | PV = "v0.4.7+git" |
14 | S = "${WORKDIR}/github.com/opencontainers/umoci" | 14 | S = "${UNPACKDIR}/github.com/opencontainers/umoci" |
15 | GO_IMPORT = "github.com/opencontainers/umoci" | 15 | GO_IMPORT = "github.com/opencontainers/umoci" |
16 | 16 | ||
17 | inherit goarch | 17 | inherit 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 | |||