[meta-virtualization][PATCH] vcontainer-tarball: unset OECORE_NATIVE_SYSROOT in CI
Tim Orling <[email protected]> Fri, 12 Jun 2026 13:11:50 -0700
| Newsgroups | org.yoctoproject.lists.meta-virtualization |
|---|---|
| Message-ID | <[email protected]> |
Add 'unset OECORE_NATIVE_SYSROOT' to the end of environment-setup-ci for the same reasons it needed to be in environment-setup-none. This fixes issues seen on AutoBuilder workers which use buildtools-tarball and also usage of oe-run-native (e.g. for skopeo-native or cosign-native). Signed-off-by: Tim Orling <[email protected]> --- recipes-containers/vcontainer/vcontainer-tarball.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-containers/vcontainer/vcontainer-tarball.bb b/recipes-containers/vcontainer/vcontainer-tarball.bb index 7e59c77d..f943cfd0 100644 --- a/recipes-containers/vcontainer/vcontainer-tarball.bb +++ b/recipes-containers/vcontainer/vcontainer-tarball.bb @@ -451,6 +451,8 @@ ENVEOF 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 +unset OECORE_NATIVE_SYSROOT CISCRIPT chmod 755 $ci_script -- 2.54.0