Skip to contentSkip to conversation

vcontainer-tarball: unset OECORE_NATIVE_SYSROOT in CI

PATCH In review Tim Orling 2 participants 2 messages Jun 12 – Jun 13

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 vcontainer-tarball: unset OECORE_NATIVE_SYSROOT in CI

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).

---
 recipes-containers/vcontainer/vcontainer-tarball.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/vcontainer/vcontainer-tarball.bb +2 -0
index 7e59c77d..f943cfd0 100644
@@ -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
 
Signature · 1 line
2.54.0
#1 lore raw

staged on master-next.

I'm finally getting close to pushing master-next -> master

Bruce

In message: [meta-virtualization][PATCH] vcontainer-tarball: unset OECORE_NATIVE_SYSROOT in CI

Quoted 37 lines · on 12/06/2026 Tim Orling via lists.yoctoproject.org wrote:

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).

---
 recipes-containers/vcontainer/vcontainer-tarball.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/vcontainer/vcontainer-tarball.bb +2 -0
index 7e59c77d..f943cfd0 100644
@@ -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
 
Signature · 11 lines
2.54.0



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9883): https://lists.yoctoproject.org/g/meta-virtualization/message/9883
Mute This Topic: https://lists.yoctoproject.org/mt/119779995/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-