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

Bruce Ashfield <[email protected]> Sat, 13 Jun 2026 03:36:07 +0000
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <vbzpr4p5az5bt6457hqwwmbnsewxm6cchh7samlisgmm2bpjbd@b75vpm7so263>
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
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).
> 
> 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
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> 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]]
> -=-=-=-=-=-=-=-=-=-=-=-
>