Skip to contentSkip to conversation

meta-virt: adjust for UNPACKDIR and GO_SRCURI_DESTSUFFIX

PATCH In review [email protected] 2 participants 5 messages May 29, 2024 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 meta-virt: adjust for UNPACKDIR and GO_SRCURI_DESTSUFFIX

From: Chen Qi <[email protected]>

The patch is generated by the following commands:

  grep -rl WORKDIR * | xargs sed -i -e 's#${WORKDIR}/${BP}/src/import#${GO_SRCURI_DESTSUFFIX}#g'
  grep -rl WORKDIR * | xargs sed -i -e 's#${UNPACKDIR}#${UNPACKDIR}#g'
  grep -rEl 'inherit.* go( |$)' * | xargs sed -i -e '/destsuffix/!s/protocol=https/protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}/g'
  grep -rl destsuffix * | xargs sed -i -e 's#destsuffix=${S}/#destsuffix=${GO_SRCURI_DESTSUFFIX}/../../#g'
  grep -rl UNPACKDIR * | xargs sed -i -e 's#S = "${UNPACKDIR}#S = "${WORKDIR}#g'
  grep -rl GOPATH * | xargs sed -i -e '/GOPATH/ s#UNPACKDIR#WORKDIR#g'
  grep -rl '\${UNPACKDIR}/git' * | xargs sed -i -e 's#${UNPACKDIR}/git#${WORKDIR}/git#g'
  grep -rl 'toolchain.cmake' * | xargs sed -i -e 's#${UNPACKDIR}/toolchain.cmake#${WORKDIR}/toolchain.cmake#g'

What these commands do is:
1) use GO_SRCURI_DESTSUFFIX to adapt to latest oe-core change
2) avoid absolute path in destsuffix
This will unnecessarily create ${S} diretory, causing a chaos when doing shutil.move. The unpack codes in base.bbclass remove ${S} in most cases and then does a move.
3) Use UNPACKDIR to replace WORKDIR.

---
 .../xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb  |   4 +-
 recipes-containers/buildah/buildah_git.bb     |   2 +-
 .../cgroup-lite/cgroup-lite_1.15.bb           |   2 +-
 .../container-host-config.bb                  |   6 +-
 recipes-containers/cri-o/cri-o_git.bb         |   4 +-
 recipes-containers/cri-tools/cri-tools_git.bb |   2 +-
 .../docker-compose/docker-compose_git.bb      |   4 +-
 recipes-containers/docker-compose/src_uri.inc | 372 ++++----
 .../docker-distribution_git.bb                |   2 +-
 recipes-containers/docker/docker.inc          |   2 +-
 recipes-containers/k3s/k3s_git.bb             |  16 +-
 recipes-containers/k3s/src_uri.inc            | 860 +++++++++---------
 .../kubernetes/kubernetes_git.bb              |  10 +-
 recipes-containers/lxc/lxc_git.bb             |   4 +-
 recipes-containers/nerdctl/nerdctl_git.bb     |   4 +-
 recipes-containers/nerdctl/src_uri.inc        | 270 +++---
 .../podman-tui/podman-tui_git.bb              |   2 +-
 recipes-containers/podman/podman_git.bb       |   4 +-
 .../kata-containers/kata-agent_git.bb         |   2 +-
 .../kata-containers/kata-proxy_git.bb         |   2 +-
 .../kata-containers/kata-runtime_git.bb       |   2 +-
 recipes-core/kata-containers/kata-shim_git.bb |   2 +-
 recipes-core/runv/runv_git.bb                 |   2 +-
 recipes-core/runx/runx_git.bb                 |   8 +-
 .../helloworld-flask/helloworld-flask_0.1.bb  |  18 +-
 recipes-devtools/go/go-build_git.bb           |   2 +-
 recipes-devtools/go/go-md2man_git.bb          |   2 +-
 recipes-devtools/yq/yq_git.bb                 |   4 +-
 recipes-extended/ceph/ceph_18.2.2.bb          |   6 +-
 recipes-extended/diod/diod_1.0.24.bb          |   4 +-
 recipes-extended/images/xtf-image.bb          |   4 +-
 recipes-extended/libvirt/libvirt-python.inc   |   4 +-
 recipes-extended/libvirt/libvirt_10.0.0.bb    |  30 +-
 recipes-extended/nagios/nagios-core_4.4.6.bb  |   6 +-
 recipes-extended/nagios/nagios-nrpe_4.0.2.bb  |   4 +-
 recipes-extended/nagios/nagios-nsca_2.9.2.bb  |   4 +-
 .../uxen/uxen-guest-tools_4.1.8.bb            |   2 +-
 .../virt-viewer/virt-viewer_11.0.bb           |   2 +-
 recipes-extended/xen/xen.inc                  |   6 +-
 recipes-networking/cni/cni_git.bb             |   8 +-
 recipes-networking/cni/src_uri.inc            |  26 +-
 recipes-networking/netns/netns_git.bb         |   2 +-
 .../openvswitch/openvswitch.inc               |   8 +-
 scripts/oe-go-mod-autogen.py                  |  12 +-
 44 files changed, 871 insertions(+), 871 deletions(-)
dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb +2 -2
index 87619d01..f1d3189d 100644
@@ -17,9 +17,9 @@ do_compile() {
         -e 's/@@KERNEL_BOOTCMD@@/${KERNEL_BOOTCMD}/' \
         -e 's/@@RPI_DOM0_MEM@@/${RPI_DOM0_MEM}/' \
         -e 's/@@RPI_DEBUG_XEN_ARGS@@/${RPI_DEBUG_XEN_ARGS}/' \
-        "${WORKDIR}/boot.cmd.xen.in" > "${WORKDIR}/boot.cmd"
+        "${UNPACKDIR}/boot.cmd.xen.in" > "${UNPACKDIR}/boot.cmd"
 
-    mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
+    mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${UNPACKDIR}/boot.cmd" boot.scr
 }
 
 inherit kernel-arch deploy nopackages
recipes-containers/buildah/buildah_git.bb +1 -1
index 64ee4f7d..40950fa9 100644
@@ -32,7 +32,7 @@ SRCREV_buildah = "dbeb097c6fbf4bfd643f096992da572a97a8ec12"
 SRCREV_storage = "246ba3062e8b551026aef2708eee747014ce5c52"
 
 SRC_URI = " \
-    git://github.com/containers/buildah;branch=release-1.34;name=buildah;protocol=https \
+    git://github.com/containers/buildah;branch=release-1.34;name=buildah;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
     "
 
 DEPENDS = "libdevmapper btrfs-tools gpgme"
recipes-containers/cgroup-lite/cgroup-lite_1.15.bb +1 -1
index 23ecfa4a..7d1ca23d 100644
@@ -27,7 +27,7 @@ do_install() {
 	install -m 0755 ${S}/scripts/cgroups-umount ${D}/${base_bindir}
 
 	install -d ${D}${sysconfdir}/init.d
-	install -m 0755 ${WORKDIR}/cgroups-init ${D}${sysconfdir}/init.d/cgroups-init
+	install -m 0755 ${UNPACKDIR}/cgroups-init ${D}${sysconfdir}/init.d/cgroups-init
 
 	install -d ${D}${systemd_unitdir}/system
 	ln -sf /dev/null ${D}${systemd_unitdir}/system/cgroups-init.service
recipes-containers/container-host-config/container-host-config.bb +3 -3
index 80abddf0..3d962ffc 100644
@@ -14,9 +14,9 @@ SRC_URI = " \
 do_install() {
 	install -d ${D}/${sysconfdir}/containers
 
-	install ${WORKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf
-	install ${WORKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf
-	install ${WORKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json
+	install ${UNPACKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf
+	install ${UNPACKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf
+	install ${UNPACKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json
 }
 
 BBCLASSEXTEND = "native nativesdk"
recipes-containers/cri-o/cri-o_git.bb +2 -2
index 4e17a7cd..0255aa0a 100644
@@ -16,7 +16,7 @@ At a high level, we expect the scope of cri-o to be restricted to the following
 
 SRCREV_cri-o = "5aff11c7c1afdc785adafd7da3c3f2a6ac51b88d"
 SRC_URI = "\
-	git://github.com/kubernetes-sigs/cri-o.git;branch=release-1.30;name=cri-o;protocol=https \
+	git://github.com/kubernetes-sigs/cri-o.git;branch=release-1.30;name=cri-o;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         file://crio.conf \
 	"
 
@@ -83,7 +83,7 @@ do_install() {
     install -d ${D}${systemd_unitdir}/system/
     install -d ${D}/usr/share/containers/oci/hooks.d
 
-    install ${WORKDIR}/crio.conf ${D}/${sysconfdir}/crio/crio.conf
+    install ${UNPACKDIR}/crio.conf ${D}/${sysconfdir}/crio/crio.conf
 
     # sample config files, they'll go in the ${PN}-config below
     install -d ${D}/${sysconfdir}/crio/config/
recipes-containers/cri-tools/cri-tools_git.bb +1 -1
index e0caf740..f9b60bbf 100644
@@ -18,7 +18,7 @@ What is not in scope for this project? \
 
 SRCREV_cri-tools = "17b4dd65d660fec94d7a5a070e3e89ef640f1087"
 SRC_URI = "\
-	git://github.com/kubernetes-sigs/cri-tools.git;branch=master;name=cri-tools;protocol=https \
+	git://github.com/kubernetes-sigs/cri-tools.git;branch=master;name=cri-tools;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         file://0001-build-allow-environmental-CGO-settings-and-pass-dont.patch \
 	"
 
recipes-containers/docker-compose/docker-compose_git.bb +2 -2
index 07650126..316bf29d 100644
@@ -11,7 +11,7 @@ DEPENDS = " \
 SRCREV_FORMAT="compose_survey"
 SRCREV_compose = "3371227794f5f3645f4f19829c60a741635ed329"
 
-SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https"
+SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
 
 include src_uri.inc
 
@@ -55,7 +55,7 @@ do_compile() {
 	# our copied .go files are to be used for the build
 	ln -sf vendor.copy vendor
 	# inform go that we know what we are doing
-	cp ${WORKDIR}/modules.txt vendor/
+	cp ${UNPACKDIR}/modules.txt vendor/
 
 	GO_LDFLAGS="-s -w -X internal.Version=${PV} -X ${COMPOSE_PKG}/internal.Version=${PV}"
 	GO_BUILDTAGS=""
recipes-containers/docker-compose/src_uri.inc +186 -186

1,116 lines not on this page · raw message

recipes-containers/docker-distribution/docker-distribution_git.bb +1 -1
index dbca0d55..3ed91f12 100644
@@ -48,7 +48,7 @@ do_install() {
 
 	if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
 	    install -d ${D}${systemd_unitdir}/system
-	    install -m 644 ${WORKDIR}/docker-registry.service ${D}/${systemd_unitdir}/system
+	    install -m 644 ${UNPACKDIR}/docker-registry.service ${D}/${systemd_unitdir}/system
 	fi
 
 	install -d ${D}/${sysconfdir}/docker-distribution/registry/
recipes-containers/docker/docker.inc +1 -1
index 48f7d3ec..25c6b1e5 100644
@@ -110,7 +110,7 @@ do_install() {
 		rm -f ${D}/${systemd_unitdir}/system/docker.service.rpm
 	else
 		install -d ${D}${sysconfdir}/init.d
-		install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init
+		install -m 0755 ${UNPACKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init
 	fi
 	# TLS key that docker creates at run-time if not found is what resides here
 	if ${@bb.utils.contains('PACKAGECONFIG','transient-config','true','false',d)}; then
recipes-containers/k3s/k3s_git.bb +8 -8
index b88b8349..ab3f4366 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "https://k3s.io/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://${S}/src/import/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 
-SRC_URI = "git://github.com/rancher/k3s.git;branch=release-1.28;name=k3s;protocol=https \
+SRC_URI = "git://github.com/rancher/k3s.git;branch=release-1.28;name=k3s;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
            file://k3s.service \
            file://k3s-agent.service \
            file://k3s-agent \
@@ -23,7 +23,7 @@ PV = "v1.28.7+k3s1+git${SRCREV_k3s}"
 
 include src_uri.inc
 
-CNI_NETWORKING_FILES ?= "${WORKDIR}/cni-containerd-net.conf"
+CNI_NETWORKING_FILES ?= "${UNPACKDIR}/cni-containerd-net.conf"
 
 inherit go
 inherit goarch
@@ -74,7 +74,7 @@ do_compile() {
 	#
 	#         vendor/github.com/containerd/containerd/snapshots/btrfs/plugin/*.go
 
-        cp ${WORKDIR}/modules.txt vendor/
+        cp ${UNPACKDIR}/modules.txt vendor/
 
         VERSION_GOLANG="$(go version | cut -d" " -f3)"
         ${GO} build -trimpath -tags "$TAGS" -ldflags "-X github.com/k3s-io/k3s/pkg/version.UpstreamGolang=$VERSION_GOLANG  ${GO_BUILD_LDFLAGS} -w -s" -o ./dist/artifacts/k3s ./cmd/server/main.go
@@ -92,14 +92,14 @@ do_install() {
         # We want to use the containerd provided ctr
         # ln -sr "${D}/${BIN_PREFIX}/bin/k3s" "${D}${BIN_PREFIX}/bin/ctr"
         ln -sr "${D}/${BIN_PREFIX}/bin/k3s" "${D}${BIN_PREFIX}/bin/kubectl"
-        install -m 755 "${WORKDIR}/k3s-clean" "${D}${BIN_PREFIX}/bin"
-        install -m 755 "${WORKDIR}/k3s-killall.sh" "${D}${BIN_PREFIX}/bin"
+        install -m 755 "${UNPACKDIR}/k3s-clean" "${D}${BIN_PREFIX}/bin"
+        install -m 755 "${UNPACKDIR}/k3s-killall.sh" "${D}${BIN_PREFIX}/bin"
 
         if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
-                install -D -m 0644 "${WORKDIR}/k3s.service" "${D}${systemd_system_unitdir}/k3s.service"
-                install -D -m 0644 "${WORKDIR}/k3s-agent.service" "${D}${systemd_system_unitdir}/k3s-agent.service"
+                install -D -m 0644 "${UNPACKDIR}/k3s.service" "${D}${systemd_system_unitdir}/k3s.service"
+                install -D -m 0644 "${UNPACKDIR}/k3s-agent.service" "${D}${systemd_system_unitdir}/k3s-agent.service"
                 sed -i "s#\(Exec\)\(.*\)=\(.*\)\(k3s\)#\1\2=${BIN_PREFIX}/bin/\4#g" "${D}${systemd_system_unitdir}/k3s.service" "${D}${systemd_system_unitdir}/k3s-agent.service"
-                install -m 755 "${WORKDIR}/k3s-agent" "${D}${BIN_PREFIX}/bin"
+                install -m 755 "${UNPACKDIR}/k3s-agent" "${D}${BIN_PREFIX}/bin"
         fi
 
 	mkdir -p ${D}${datadir}/k3s/
recipes-containers/k3s/src_uri.inc +430 -430

1,746 lines not on this page · raw message

recipes-containers/kubernetes/kubernetes_git.bb +5 -5
index 044175eb..87cfca60 100644

Lines of this file are not shown. View the raw message.

recipes-containers/lxc/lxc_git.bb +2 -2
index ee0e442f..550f910e 100644

Lines of this file are not shown. View the raw message.

recipes-containers/nerdctl/nerdctl_git.bb +2 -2
index 8868274f..649b81d2 100644

Lines of this file are not shown. View the raw message.

recipes-containers/nerdctl/src_uri.inc +135 -135

270 lines not on this page · raw message

recipes-containers/podman-tui/podman-tui_git.bb +1 -1
index 210f4f5b..2ae8ce18 100644

Lines of this file are not shown. View the raw message.

recipes-containers/podman/podman_git.bb +2 -2
index 32de3f0c..8fc3a854 100644

Lines of this file are not shown. View the raw message.

recipes-core/kata-containers/kata-agent_git.bb +1 -1
index de28235c..a44918b8 100644

Lines of this file are not shown. View the raw message.

recipes-core/kata-containers/kata-proxy_git.bb +1 -1
index d835e4d2..2882c5b2 100644

Lines of this file are not shown. View the raw message.

recipes-core/kata-containers/kata-runtime_git.bb +1 -1
index c0d7c4cb..d39850c4 100644

Lines of this file are not shown. View the raw message.

recipes-core/kata-containers/kata-shim_git.bb +1 -1
index 8a7cb78a..43e8b001 100644

Lines of this file are not shown. View the raw message.

recipes-core/runv/runv_git.bb +1 -1
index 73cd81a6..9cf5e491 100644

Lines of this file are not shown. View the raw message.

recipes-core/runx/runx_git.bb +4 -4
index 831360ba..52b494d0 100644

Lines of this file are not shown. View the raw message.

recipes-demo/helloworld-flask/helloworld-flask_0.1.bb +9 -9
index 896e45fd..3f5507b3 100644

Lines of this file are not shown. View the raw message.

recipes-devtools/go/go-build_git.bb +1 -1
index 75ea40a8..c0253298 100644

Lines of this file are not shown. View the raw message.

recipes-devtools/go/go-md2man_git.bb +1 -1
index 1d96bb1b..73d8d167 100644

Lines of this file are not shown. View the raw message.

recipes-devtools/yq/yq_git.bb +2 -2
index 45f2f970..3f4b5e70 100644

Lines of this file are not shown. View the raw message.

recipes-extended/ceph/ceph_18.2.2.bb +3 -3
index e6c44188..f7389f85 100644

Lines of this file are not shown. View the raw message.

recipes-extended/diod/diod_1.0.24.bb +2 -2
index 6019fbfb..d555e5c0 100644

Lines of this file are not shown. View the raw message.

recipes-extended/images/xtf-image.bb +2 -2
index f9ecea91..26d279da 100644

Lines of this file are not shown. View the raw message.

recipes-extended/libvirt/libvirt-python.inc +2 -2
index 6fb2b68c..12041df0 100644

Lines of this file are not shown. View the raw message.

recipes-extended/libvirt/libvirt_10.0.0.bb +15 -15
index 6b19b700..a29956a6 100644

Lines of this file are not shown. View the raw message.

recipes-extended/nagios/nagios-core_4.4.6.bb +3 -3
index 59b70895..7ec930cd 100644

Lines of this file are not shown. View the raw message.

recipes-extended/nagios/nagios-nrpe_4.0.2.bb +2 -2
index ac54469b..503ef547 100644

Lines of this file are not shown. View the raw message.

recipes-extended/nagios/nagios-nsca_2.9.2.bb +2 -2
index 2db51238..a400b68f 100644

Lines of this file are not shown. View the raw message.

recipes-extended/uxen/uxen-guest-tools_4.1.8.bb +1 -1
index c2f3464c..c2e8be93 100644

Lines of this file are not shown. View the raw message.

recipes-extended/virt-viewer/virt-viewer_11.0.bb +1 -1
index 273e1fc5..02f34185 100644

Lines of this file are not shown. View the raw message.

recipes-extended/xen/xen.inc +3 -3
index dcd281b5..7e483e10 100644

Lines of this file are not shown. View the raw message.

recipes-networking/cni/cni_git.bb +4 -4
index b41b47cf..e83a00ae 100644

Lines of this file are not shown. View the raw message.

recipes-networking/cni/src_uri.inc +13 -13
index 6cda91ab..fe90f20f 100644

Lines of this file are not shown. View the raw message.

recipes-networking/netns/netns_git.bb +1 -1
index 357275c1..be41d2b8 100644

Lines of this file are not shown. View the raw message.

recipes-networking/openvswitch/openvswitch.inc +4 -4
index 767a41e6..a792a903 100644

Lines of this file are not shown. View the raw message.

scripts/oe-go-mod-autogen.py +6 -6
index c44c096a..59381081 100755

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.45.1

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 2/4 runc-opencontainers: use GO_SRCURI_DESTSUFFIX

From: Chen Qi <[email protected]>

---
 recipes-containers/runc/runc-opencontainers_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/runc/runc-opencontainers_git.bb +1 -1
index 188b8440..0b709a0d 100644
@@ -2,7 +2,7 @@ include runc.inc
 
 SRCREV = "a9833ff391a71b30069a6c3f816db113379a4346"
 SRC_URI = " \
-    git://github.com/opencontainers/runc;branch=release-1.1;protocol=https \
+    git://github.com/opencontainers/runc;branch=release-1.1;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
     file://0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch \
     "
 RUNC_VERSION = "1.1.12"
Signature · 1 line
2.45.1
#2 lore raw

PATCH 3/4 docker-moby: use GO_SRCURI_DESTSUFFIX

In reply to [email protected]

From: Chen Qi <[email protected]>

---
 recipes-containers/docker/docker-moby_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/docker/docker-moby_git.bb +1 -1
index 0abb0b3f..41a6823d 100644
@@ -49,7 +49,7 @@ SRCREV_libnetwork = "67e0588f1ddfaf2faf4c8cae8b7ea2876434d91c"
 SRCREV_cli = "01f933261885c0126edb3f47fd56d048ae31265a"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
-	git://github.com/moby/moby.git;branch=25.0;name=moby;protocol=https \
+	git://github.com/moby/moby.git;branch=25.0;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
 	git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
 	git://github.com/docker/cli;branch=25.0;name=cli;destsuffix=git/cli;protocol=https \
 	file://docker.init \
Signature · 1 line
2.45.1
#3 lore raw

PATCH 4/4 linux-yocto_virtualization.inc: adjust path to kcfg for UNPACKDIR

In reply to [email protected]

From: "Martin Jansa via lists.yoctoproject.org" <[email protected]>

* UNPACKDIR added one more level

* this needs some more robust solution, but now with UNPACKDIR changes this was failing in do_kernel_metadata:

| NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0
| ERROR: Feature '../recipe-sysroot-native/kcfg/cfg/virtio.scc' not found, this will cause configuration failures.
| ERROR: Check the SRC_URI for meta-data repositories or directories that may be missing
| ERROR: Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue

* fixes:
http://errors.yoctoproject.org/Errors/Details/772680/

---
 recipes-kernel/linux/linux-yocto_virtualization.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-yocto_virtualization.inc +2 -2
index 9a6554d1..5edaef94 100644
@@ -21,12 +21,12 @@ def kernel_cache_cond_feature(src_uri,feature):
     if kernel_cache:
        return feature
 
-    return "../recipe-sysroot-native/kcfg/" + feature
+    return "../../recipe-sysroot-native/kcfg/" + feature
 
 # no conditional, just use the yocto-kernel-cache addition, yes
 # the src_uri isn't used, but we may need to check it in the future
 def kernel_cache_feature(src_uri,feature):
-    return "../recipe-sysroot-native/kcfg/" + feature
+    return "../../recipe-sysroot-native/kcfg/" + feature
 
 def distro_cond_feature(feature_fragment,distro_feature,d):
     import bb
Signature · 1 line
2.45.1
#4 lore raw
In reply to [email protected]

As I mentioned on the list earlier this week, I've already dealt with these issues.

I'm just finalizing a few runtime issues and everything will be pushed to master-next.

Bruce

Quoted 404 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

The patch is generated by the following commands:

  grep -rl WORKDIR * | xargs sed -i -e 's#${WORKDIR}/${BP}/src/import#${GO_SRCURI_DESTSUFFIX}#g'
  grep -rl WORKDIR * | xargs sed -i -e 's#${UNPACKDIR}#${UNPACKDIR}#g'
  grep -rEl 'inherit.* go( |$)' * | xargs sed -i -e '/destsuffix/!s/protocol=https/protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}/g'
  grep -rl destsuffix * | xargs sed -i -e 's#destsuffix=${S}/#destsuffix=${GO_SRCURI_DESTSUFFIX}/../../#g'
  grep -rl UNPACKDIR * | xargs sed -i -e 's#S = "${UNPACKDIR}#S = "${WORKDIR}#g'
  grep -rl GOPATH * | xargs sed -i -e '/GOPATH/ s#UNPACKDIR#WORKDIR#g'
  grep -rl '\${UNPACKDIR}/git' * | xargs sed -i -e 's#${UNPACKDIR}/git#${WORKDIR}/git#g'
  grep -rl 'toolchain.cmake' * | xargs sed -i -e 's#${UNPACKDIR}/toolchain.cmake#${WORKDIR}/toolchain.cmake#g'

What these commands do is:
1) use GO_SRCURI_DESTSUFFIX to adapt to latest oe-core change
2) avoid absolute path in destsuffix
This will unnecessarily create ${S} diretory, causing a chaos when doing shutil.move. The unpack codes in base.bbclass remove ${S} in most cases and then does a move.
3) Use UNPACKDIR to replace WORKDIR.

---
 .../xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb  |   4 +-
 recipes-containers/buildah/buildah_git.bb     |   2 +-
 .../cgroup-lite/cgroup-lite_1.15.bb           |   2 +-
 .../container-host-config.bb                  |   6 +-
 recipes-containers/cri-o/cri-o_git.bb         |   4 +-
 recipes-containers/cri-tools/cri-tools_git.bb |   2 +-
 .../docker-compose/docker-compose_git.bb      |   4 +-
 recipes-containers/docker-compose/src_uri.inc | 372 ++++----
 .../docker-distribution_git.bb                |   2 +-
 recipes-containers/docker/docker.inc          |   2 +-
 recipes-containers/k3s/k3s_git.bb             |  16 +-
 recipes-containers/k3s/src_uri.inc            | 860 +++++++++---------
 .../kubernetes/kubernetes_git.bb              |  10 +-
 recipes-containers/lxc/lxc_git.bb             |   4 +-
 recipes-containers/nerdctl/nerdctl_git.bb     |   4 +-
 recipes-containers/nerdctl/src_uri.inc        | 270 +++---
 .../podman-tui/podman-tui_git.bb              |   2 +-
 recipes-containers/podman/podman_git.bb       |   4 +-
 .../kata-containers/kata-agent_git.bb         |   2 +-
 .../kata-containers/kata-proxy_git.bb         |   2 +-
 .../kata-containers/kata-runtime_git.bb       |   2 +-
 recipes-core/kata-containers/kata-shim_git.bb |   2 +-
 recipes-core/runv/runv_git.bb                 |   2 +-
 recipes-core/runx/runx_git.bb                 |   8 +-
 .../helloworld-flask/helloworld-flask_0.1.bb  |  18 +-
 recipes-devtools/go/go-build_git.bb           |   2 +-
 recipes-devtools/go/go-md2man_git.bb          |   2 +-
 recipes-devtools/yq/yq_git.bb                 |   4 +-
 recipes-extended/ceph/ceph_18.2.2.bb          |   6 +-
 recipes-extended/diod/diod_1.0.24.bb          |   4 +-
 recipes-extended/images/xtf-image.bb          |   4 +-
 recipes-extended/libvirt/libvirt-python.inc   |   4 +-
 recipes-extended/libvirt/libvirt_10.0.0.bb    |  30 +-
 recipes-extended/nagios/nagios-core_4.4.6.bb  |   6 +-
 recipes-extended/nagios/nagios-nrpe_4.0.2.bb  |   4 +-
 recipes-extended/nagios/nagios-nsca_2.9.2.bb  |   4 +-
 .../uxen/uxen-guest-tools_4.1.8.bb            |   2 +-
 .../virt-viewer/virt-viewer_11.0.bb           |   2 +-
 recipes-extended/xen/xen.inc                  |   6 +-
 recipes-networking/cni/cni_git.bb             |   8 +-
 recipes-networking/cni/src_uri.inc            |  26 +-
 recipes-networking/netns/netns_git.bb         |   2 +-
 .../openvswitch/openvswitch.inc               |   8 +-
 scripts/oe-go-mod-autogen.py                  |  12 +-
 44 files changed, 871 insertions(+), 871 deletions(-)
dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb +2 -2
index 87619d01..f1d3189d 100644
@@ -17,9 +17,9 @@ do_compile() {
         -e 's/@@KERNEL_BOOTCMD@@/${KERNEL_BOOTCMD}/' \
         -e 's/@@RPI_DOM0_MEM@@/${RPI_DOM0_MEM}/' \
         -e 's/@@RPI_DEBUG_XEN_ARGS@@/${RPI_DEBUG_XEN_ARGS}/' \
-        "${WORKDIR}/boot.cmd.xen.in" > "${WORKDIR}/boot.cmd"
+        "${UNPACKDIR}/boot.cmd.xen.in" > "${UNPACKDIR}/boot.cmd"
 
-    mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
+    mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${UNPACKDIR}/boot.cmd" boot.scr
 }
 
 inherit kernel-arch deploy nopackages
recipes-containers/buildah/buildah_git.bb +1 -1
index 64ee4f7d..40950fa9 100644
@@ -32,7 +32,7 @@ SRCREV_buildah = "dbeb097c6fbf4bfd643f096992da572a97a8ec12"
 SRCREV_storage = "246ba3062e8b551026aef2708eee747014ce5c52"
 
 SRC_URI = " \
-    git://github.com/containers/buildah;branch=release-1.34;name=buildah;protocol=https \
+    git://github.com/containers/buildah;branch=release-1.34;name=buildah;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
     "
 
 DEPENDS = "libdevmapper btrfs-tools gpgme"
recipes-containers/cgroup-lite/cgroup-lite_1.15.bb +1 -1
index 23ecfa4a..7d1ca23d 100644
@@ -27,7 +27,7 @@ do_install() {
        install -m 0755 ${S}/scripts/cgroups-umount ${D}/${base_bindir}
 
        install -d ${D}${sysconfdir}/init.d
-       install -m 0755 ${WORKDIR}/cgroups-init ${D}${sysconfdir}/init.d/cgroups-init
+       install -m 0755 ${UNPACKDIR}/cgroups-init ${D}${sysconfdir}/init.d/cgroups-init
 
        install -d ${D}${systemd_unitdir}/system
        ln -sf /dev/null ${D}${systemd_unitdir}/system/cgroups-init.service
recipes-containers/container-host-config/container-host-config.bb +3 -3
index 80abddf0..3d962ffc 100644
@@ -14,9 +14,9 @@ SRC_URI = " \
 do_install() {
        install -d ${D}/${sysconfdir}/containers
 
-       install ${WORKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf
-       install ${WORKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf
-       install ${WORKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json
+       install ${UNPACKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf
+       install ${UNPACKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf
+       install ${UNPACKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json
 }
 
 BBCLASSEXTEND = "native nativesdk"
recipes-containers/cri-o/cri-o_git.bb +2 -2
index 4e17a7cd..0255aa0a 100644
@@ -16,7 +16,7 @@ At a high level, we expect the scope of cri-o to be restricted to the following
 
 SRCREV_cri-o = "5aff11c7c1afdc785adafd7da3c3f2a6ac51b88d"
 SRC_URI = "\
-       git://github.com/kubernetes-sigs/cri-o.git;branch=release-1.30;name=cri-o;protocol=https \
+       git://github.com/kubernetes-sigs/cri-o.git;branch=release-1.30;name=cri-o;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         file://crio.conf \
        "
 
@@ -83,7 +83,7 @@ do_install() {
     install -d ${D}${systemd_unitdir}/system/
     install -d ${D}/usr/share/containers/oci/hooks.d
 
-    install ${WORKDIR}/crio.conf ${D}/${sysconfdir}/crio/crio.conf
+    install ${UNPACKDIR}/crio.conf ${D}/${sysconfdir}/crio/crio.conf
 
     # sample config files, they'll go in the ${PN}-config below
     install -d ${D}/${sysconfdir}/crio/config/
recipes-containers/cri-tools/cri-tools_git.bb +1 -1
index e0caf740..f9b60bbf 100644
@@ -18,7 +18,7 @@ What is not in scope for this project? \
 
 SRCREV_cri-tools = "17b4dd65d660fec94d7a5a070e3e89ef640f1087"
 SRC_URI = "\
-       git://github.com/kubernetes-sigs/cri-tools.git;branch=master;name=cri-tools;protocol=https \
+       git://github.com/kubernetes-sigs/cri-tools.git;branch=master;name=cri-tools;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         file://0001-build-allow-environmental-CGO-settings-and-pass-dont.patch \
        "
 
recipes-containers/docker-compose/docker-compose_git.bb +2 -2
index 07650126..316bf29d 100644
@@ -11,7 +11,7 @@ DEPENDS = " \
 SRCREV_FORMAT="compose_survey"
 SRCREV_compose = "3371227794f5f3645f4f19829c60a741635ed329"
 
-SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https"
+SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
 
 include src_uri.inc
 
@@ -55,7 +55,7 @@ do_compile() {
        # our copied .go files are to be used for the build
        ln -sf vendor.copy vendor
        # inform go that we know what we are doing
-       cp ${WORKDIR}/modules.txt vendor/
+       cp ${UNPACKDIR}/modules.txt vendor/
 
        GO_LDFLAGS="-s -w -X internal.Version=${PV} -X ${COMPOSE_PKG}/internal.Version=${PV}"
        GO_BUILDTAGS=""
recipes-containers/docker-compose/src_uri.inc +35 -36
index 1978abc7..8327cb0e 100644
@@ -1,930 +1,930 @@
 #       k8s.io/api v0.29.2
 # [1] git ls-remote https://github.com/kubernetes/api d47313059888ec984bf8432ed155fae5be935c31
 SRCREV_k8s.io-api="d47313059888ec984bf8432ed155fae5be935c31"
-SRC_URI += "git://github.com/kubernetes/api;name=k8s.io-api;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/api"
+SRC_URI += "git://github.com/kubernetes/api;name=k8s.io-api;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/k8s.io/api"
 
 #       k8s.io/utils v0.0.0-20230726121419-3b25d923346b
 # [1] git ls-remote https://github.com/kubernetes/utils 3b25d923346b3814e0898684c97390092f31a61e
 SRCREV_utils="3b25d923346b3814e0898684c97390092f31a61e"
-SRC_URI += "git://github.com/kubernetes/utils;name=utils;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/utils"
+SRC_URI += "git://github.com/kubernetes/utils;name=utils;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/k8s.io/utils"
 
 #       k8s.io/klog/v2 v2.110.1
 # [1] git ls-remote https://github.com/kubernetes/klog e3f75b8af2707d64b5dd4c440ae8384ed2f2c386
 SRCREV_klog-v2="e3f75b8af2707d64b5dd4c440ae8384ed2f2c386"
-SRC_URI += "git://github.com/kubernetes/klog;name=klog-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/klog/v2"
+SRC_URI += "git://github.com/kubernetes/klog;name=klog-v2;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/k8s.io/klog/v2"
 
 #       gotest.tools/v3 v3.5.1
 # [1] git ls-remote https://github.com/gotestyourself/gotest.tools 81cea1abc596b025bf2573c7fdf97740512e4c6c
 SRCREV_v3="81cea1abc596b025bf2573c7fdf97740512e4c6c"
-SRC_URI += "git://github.com/gotestyourself/gotest.tools;name=v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gotest.tools/v3"
+SRC_URI += "git://github.com/gotestyourself/gotest.tools;name=v3;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/gotest.tools/v3"
 
 #       dario.cat/mergo v1.0.0
 # [1] git ls-remote https://github.com/imdario/mergo 131de815afc35a77c41ae99da6c8f4288b6cb513
 SRCREV_mergo="131de815afc35a77c41ae99da6c8f4288b6cb513"
-SRC_URI += "git://github.com/imdario/mergo;name=mergo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/dario.cat/mergo"
+SRC_URI += "git://github.com/imdario/mergo;name=mergo;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/dario.cat/mergo"
 
 #       gopkg.in/inf.v0 v0.9.1
 # [1] git ls-remote https://github.com/go-inf/inf d2d2541c53f18d2a059457998ce2876cc8e67cbf
 SRCREV_inf.v0="d2d2541c53f18d2a059457998ce2876cc8e67cbf"
-SRC_URI += "git://github.com/go-inf/inf;name=inf.v0;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/inf.v0"
+SRC_URI += "git://github.com/go-inf/inf;name=inf.v0;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/gopkg.in/inf.v0"
 
 #       go.uber.org/mock v0.4.0
 # [1] git ls-remote https://github.com/uber/mock 74a29c6e6c2cbb8ccee94db061c1604ff33fd188
 SRCREV_mock="74a29c6e6c2cbb8ccee94db061c1604ff33fd188"
-SRC_URI += "git://github.com/uber/mock;name=mock;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/mock"
+SRC_URI += "git://github.com/uber/mock;name=mock;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/go.uber.org/mock"
 
 #       golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3
 # [1] git ls-remote https://go.googlesource.com/exp db7319d0e0e361ccef5c449b760df8e5f2d5087c
 SRCREV_exp="db7319d0e0e361ccef5c449b760df8e5f2d5087c"
-SRC_URI += "git://go.googlesource.com/exp;name=exp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/exp"
+SRC_URI += "git://go.googlesource.com/exp;name=exp;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/exp"
 
 #       golang.org/x/sys v0.16.0
 # [1] git ls-remote https://go.googlesource.com/sys 0829ab15b6946f47c40012db2e0c04772730317d
 SRCREV_sys="0829ab15b6946f47c40012db2e0c04772730317d"
-SRC_URI += "git://go.googlesource.com/sys;name=sys;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/sys"
+SRC_URI += "git://go.googlesource.com/sys;name=sys;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/sys"
 
 #       gopkg.in/yaml.v3 v3.0.1
 # [1] git ls-remote https://github.com/go-yaml/yaml f6f7691b1fdeb513f56608cd2c32c51f8194bf51
 SRCREV_yaml.v3="f6f7691b1fdeb513f56608cd2c32c51f8194bf51"
-SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v3"
+SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v3;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/gopkg.in/yaml.v3"
 
 #       golang.org/x/mod v0.14.0
 # [1] git ls-remote https://go.googlesource.com/mod 6e58e47c7bd6672665dc35cce7b1f325d2addd67
 SRCREV_mod="6e58e47c7bd6672665dc35cce7b1f325d2addd67"
-SRC_URI += "git://go.googlesource.com/mod;name=mod;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/mod"
+SRC_URI += "git://go.googlesource.com/mod;name=mod;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/mod"
 
 #       golang.org/x/net v0.20.0
 # [1] git ls-remote https://go.googlesource.com/net cb5b10f0bbc51089bf49030ce3bd43bbfee08c23
 SRCREV_net="cb5b10f0bbc51089bf49030ce3bd43bbfee08c23"
-SRC_URI += "git://go.googlesource.com/net;name=net;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/net"
+SRC_URI += "git://go.googlesource.com/net;name=net;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/net"
 
 #       gopkg.in/yaml.v2 v2.4.0
 # [1] git ls-remote https://github.com/go-yaml/yaml 7649d4548cb53a614db133b2a8ac1f31859dda8c
 SRCREV_yaml.v2="7649d4548cb53a614db133b2a8ac1f31859dda8c"
-SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v2"
+SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v2;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/gopkg.in/yaml.v2"
 
 #       k8s.io/apiserver v0.29.2
 # [1] git ls-remote https://github.com/kubernetes/apiserver 4c39f36a732cfb11f3fc75110c7301336b6b64e3
 SRCREV_apiserver="4c39f36a732cfb11f3fc75110c7301336b6b64e3"
-SRC_URI += "git://github.com/kubernetes/apiserver;name=apiserver;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/apiserver"
+SRC_URI += "git://github.com/kubernetes/apiserver;name=apiserver;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/k8s.io/apiserver"
 
 #       k8s.io/client-go v0.29.2
 # [1] git ls-remote https://github.com/kubernetes/client-go 62c5e9e7b4bd09d2b43dcad1464376322398e994
 SRCREV_client-go="62c5e9e7b4bd09d2b43dcad1464376322398e994"
-SRC_URI += "git://github.com/kubernetes/client-go;name=client-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/client-go"
+SRC_URI += "git://github.com/kubernetes/client-go;name=client-go;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/k8s.io/client-go"
 
 #       sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
 # [1] git ls-remote https://github.com/kubernetes-sigs/json bc3834ca7abd3a90f03ef00a27ad80cb892f9c21
 SRCREV_json="bc3834ca7abd3a90f03ef00a27ad80cb892f9c21"
-SRC_URI += "git://github.com/kubernetes-sigs/json;name=json;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/json"
+SRC_URI += "git://github.com/kubernetes-sigs/json;name=json;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/sigs.k8s.io/json"
 
 #       sigs.k8s.io/yaml v1.3.0
 # [1] git ls-remote https://github.com/kubernetes-sigs/yaml 9535b3b1e2893fe44efb37c5c9f5665e245d786a
 SRCREV_yaml="9535b3b1e2893fe44efb37c5c9f5665e245d786a"
-SRC_URI += "git://github.com/kubernetes-sigs/yaml;name=yaml;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/yaml"
+SRC_URI += "git://github.com/kubernetes-sigs/yaml;name=yaml;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/sigs.k8s.io/yaml"
 
 #       golang.org/x/sync v0.6.0
 # [1] git ls-remote https://go.googlesource.com/sync 59c1ca1e4661ed4452be4069ceea3c233f4deec1
 SRCREV_sync="59c1ca1e4661ed4452be4069ceea3c233f4deec1"
-SRC_URI += "git://go.googlesource.com/sync;name=sync;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/sync"
+SRC_URI += "git://go.googlesource.com/sync;name=sync;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/sync"
 
 #       golang.org/x/term v0.16.0
 # [1] git ls-remote https://go.googlesource.com/term ae941452f58ff9bf62f7e9dca3ea6ae3d214a68b
 SRCREV_x-term="ae941452f58ff9bf62f7e9dca3ea6ae3d214a68b"
-SRC_URI += "git://go.googlesource.com/term;name=x-term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/term"
+SRC_URI += "git://go.googlesource.com/term;name=x-term;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/term"
 
 #       golang.org/x/text v0.14.0
 # [1] git ls-remote https://go.googlesource.com/text 6c97a165dd661335ff7bce6104a008558123c353
 SRCREV_text="6c97a165dd661335ff7bce6104a008558123c353"
-SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/text"
+SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/text"
 
 #       golang.org/x/time v0.3.0
 # [1] git ls-remote https://go.googlesource.com/time 2c09566ef13fb5556401ddff3c53c3dbc2a42dac
 SRCREV_time="2c09566ef13fb5556401ddff3c53c3dbc2a42dac"
-SRC_URI += "git://go.googlesource.com/time;name=time;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/time"
+SRC_URI += "git://go.googlesource.com/time;name=time;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/time"
 
 #       go.uber.org/goleak v1.3.0
 # [1] git ls-remote https://github.com/uber-go/goleak 31095c657c34bba405a8d480db27989aa5f60b9c
 SRCREV_goleak="31095c657c34bba405a8d480db27989aa5f60b9c"
-SRC_URI += "git://github.com/uber-go/goleak;name=goleak;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/goleak"
+SRC_URI += "git://github.com/uber-go/goleak;name=goleak;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/go.uber.org/goleak"
 
 #       golang.org/x/tools v0.17.0
 # [1] git ls-remote https://go.googlesource.com/tools 0b1f1d4bc227cc2e610854f23e14696becb9e46c
 SRCREV_tools="0b1f1d4bc227cc2e610854f23e14696becb9e46c"
-SRC_URI += "git://go.googlesource.com/tools;name=tools;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/tools"
+SRC_URI += "git://go.googlesource.com/tools;name=tools;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/tools"
 
 #       golang.org/x/crypto v0.18.0
 # [1] git ls-remote https://go.googlesource.com/crypto dbb6ec16ecef7a66638d8514be54b13660551b0a
 SRCREV_crypto="dbb6ec16ecef7a66638d8514be54b13660551b0a"
-SRC_URI += "git://go.googlesource.com/crypto;name=crypto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/crypto"
+SRC_URI += "git://go.googlesource.com/crypto;name=crypto;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/crypto"
 
 #       golang.org/x/oauth2 v0.11.0
 # [1] git ls-remote https://go.googlesource.com/oauth2 2e4a4e2bfb69ca7609cb423438c55caa131431c1
 SRCREV_oauth2="2e4a4e2bfb69ca7609cb423438c55caa131431c1"
-SRC_URI += "git://go.googlesource.com/oauth2;name=oauth2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/oauth2"
+SRC_URI += "git://go.googlesource.com/oauth2;name=oauth2;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/golang.org/x/oauth2"
 
 #       k8s.io/apimachinery v0.29.2
 # [1] git ls-remote https://github.com/kubernetes/apimachinery dc7e034c86479d49be4b0eefad307621e10caa0e
 SRCREV_apimachinery="dc7e034c86479d49be4b0eefad307621e10caa0e"
-SRC_URI += "git://github.com/kubernetes/apimachinery;name=apimachinery;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/apimachinery"
+SRC_URI += "git://github.com/kubernetes/apimachinery;name=apimachinery;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/k8s.io/apimachinery"
 
 #       k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00
 # [1] git ls-remote https://github.com/kubernetes/kube-openapi 2dd684a91f00351087fe2f4ed5408d4d2f3775ab
 SRCREV_kube-openapi="2dd684a91f00351087fe2f4ed5408d4d2f3775ab"
-SRC_URI += "git://github.com/kubernetes/kube-openapi;name=kube-openapi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/kube-openapi"
+SRC_URI += "git://github.com/kubernetes/kube-openapi;name=kube-openapi;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/k8s.io/kube-openapi"
 
 #       github.com/moby/term v0.5.0
 # [1] git ls-remote https://github.com/moby/term 9c3c875fad924eb6c9dd32a361b5fc0a49a4feb9
 SRCREV_term="9c3c875fad924eb6c9dd32a361b5fc0a49a4feb9"
-SRC_URI += "git://github.com/moby/term;name=term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/term"
+SRC_URI += "git://github.com/moby/term;name=term;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/github.com/moby/term"
 
 #       github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c
 # [1] git ls-remote https://github.com/docker/go d30aec9fd63c35133f8f79c3412ad91a3b08be06
 SRCREV_go="d30aec9fd63c35133f8f79c3412ad91a3b08be06"
-SRC_URI += "git://github.com/docker/go;name=go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go"
+SRC_URI += "git://github.com/docker/go;name=go;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/github.com/docker/go"
 
 #       github.com/docker/cli v26.0.0+incompatible
 # [1] git ls-remote https://github.com/docker/cli 2ae903e86cab51f694c819721cdfdf5eec693720
 SRCREV_cli="2ae903e86cab51f694c819721cdfdf5eec693720"
-SRC_URI += "git://github.com/docker/cli;name=cli;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/cli"
+SRC_URI += "git://github.com/docker/cli;name=cli;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/github.com/docker/cli"
 
 #       github.com/r3labs/sse v0.0.0-20210224172625-26fe804710bc
 # [1] git ls-remote https://github.com/r3labs/sse 26fe804710bc39ea7ea6636d36f27c438bd2c06f
 SRCREV_sse="26fe804710bc39ea7ea6636d36f27c438bd2c06f"
-SRC_URI += "git://github.com/r3labs/sse;name=sse;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/r3labs/sse"
+SRC_URI += "git://github.com/r3labs/sse;name=sse;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/github.com/r3labs/sse"
 
 #       github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
 # [1] git ls-remote https://github.com/mgutz/ansi 9520e82c474b0a04dd04f8a40959027271bab992
 SRCREV_ansi="9520e82c474b0a04dd04f8a40959027271bab992"
-SRC_URI += "git://github.com/mgutz/ansi;name=ansi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mgutz/ansi"
+SRC_URI += "git://github.com/mgutz/ansi;name=ansi;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/github.com/mgutz/ansi"
 
 #       github.com/pkg/errors v0.9.1
 # [1] git ls-remote https://github.com/pkg/errors 614d223910a179a466c1767a985424175c39b465
 SRCREV_errors="614d223910a179a466c1767a985424175c39b465"
-SRC_URI += "git://github.com/pkg/errors;name=errors;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pkg/errors"
+SRC_URI += "git://github.com/pkg/errors;name=errors;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/github.com/pkg/errors"
 
 #       github.com/spf13/cobra v1.8.0
 # [1] git ls-remote https://github.com/spf13/cobra a0a6ae020bb3899ff0276067863e50523f897370
 SRCREV_cobra="a0a6ae020bb3899ff0276067863e50523f897370"
-SRC_URI += "git://github.com/spf13/cobra;name=cobra;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spf13/cobra"
+SRC_URI += "git://github.com/spf13/cobra;name=cobra;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/github.com/spf13/cobra"
 
 #       github.com/spf13/pflag v1.0.5
 # [1] git ls-remote https://github.com/spf13/pflag 2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab
 SRCREV_pflag="2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab"
-SRC_URI += "git://github.com/spf13/pflag;name=pflag;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spf13/pflag"
+SRC_URI += "git://github.com/spf13/pflag;name=pflag;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/github.com/spf13/pflag"
 
 #       google.golang.org/grpc v1.59.0
 # [1] git ls-remote https://github.com/grpc/grpc-go 7765221f4bf6104973db7946d56936cf838cad46
 SRCREV_grpc="7765221f4bf6104973db7946d56936cf838cad46"
-SRC_URI += "git://
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II