mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
buildtools-tarball: Fix conflicts with oe-selftest and other tooling
OECORE_NATIVE_SYSROOT is used by tools like oe-run-native and hence we were seeing selftest failures when newer buildtools-tarballs that use this were run on the autobuilder. Unset the variable after use to avoid these issues. (From OE-Core rev: ea5128fde10eb9be7fefbbb87ae6181edd2bcdff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -80,6 +80,9 @@ if [ -d "\$OECORE_NATIVE_SYSROOT/environment-setup.d" ]; then
|
||||
. \$envfile
|
||||
done
|
||||
fi
|
||||
# We have to unset this else it can confuse oe-selftest and other tools
|
||||
# which may also use the overlapping namespace.
|
||||
unset OECORE_NATIVE_SYSROOT
|
||||
EOF
|
||||
|
||||
if [ "${SDKMACHINE}" = "i686" ]; then
|
||||
|
||||
Reference in New Issue
Block a user