[PATCH v2 13/13] vcontainer-tarball: fix buildbot-venv shadowing

Tim Orling <[email protected]> Mon, 6 Jul 2026 10:12:48 -0700
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <96fe8c169f4ac67e3fd821fb04bfd584f192585e.1783356922.git.tim.orling@konsulko.com>
Prepend the SDK dirs (vdkr/vpdmn wrappers + native qemu) but keep \$PATH
ahead of the host /usr/bin:/bin. The CI parser sources this into the
push-containers step where bitbake also runs, and the worker's buildbot-venv
is activated via \$PATH; putting /usr/bin first shadowed the venv python and
made bitbake pick up the host websockets 9.1 (< 10) -> hashserv failure.

Signed-off-by: Tim Orling <[email protected]>
---
 recipes-containers/vcontainer/vcontainer-tarball.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-containers/vcontainer/vcontainer-tarball.bb b/recipes-containers/vcontainer/vcontainer-tarball.bb
index f943cfd0..522cb0ba 100644
--- a/recipes-containers/vcontainer/vcontainer-tarball.bb
+++ b/recipes-containers/vcontainer/vcontainer-tarball.bb
@@ -450,8 +450,8 @@ ENVEOF
 # SDK relocation rewrites these paths at install time.
 export VCONTAINER_DIR="${SDKPATH}"
 export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"
-export PATH="${SDKPATH}:${SDKPATHNATIVE}/usr/bin:/usr/bin:/bin:\$PATH"
-# Clean up - unset to avoid confusing other Yocto tools' >> $script
+export PATH="${SDKPATH}:${SDKPATHNATIVE}/usr/bin:\$PATH"
+# Clean up - unset to avoid confusing other Yocto tools'
 unset OECORE_NATIVE_SYSROOT
 CISCRIPT
     chmod 755 $ci_script
-- 
2.54.0