All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] buildtools-tarball: Fix conflicts with oe-selftest and other tooling
@ 2020-09-23 15:05 Richard Purdie
  2020-09-23 15:05 ` [PATCH 2/2] ssh-regen-hostkeys: Add a recipe with pregenerated ssh host keys Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2020-09-23 15:05 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-core/meta/buildtools-tarball.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index ef56f76fa71..560b8d67b9b 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-29  0:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 15:05 [PATCH 1/2] buildtools-tarball: Fix conflicts with oe-selftest and other tooling Richard Purdie
2020-09-23 15:05 ` [PATCH 2/2] ssh-regen-hostkeys: Add a recipe with pregenerated ssh host keys Richard Purdie
2020-09-28 15:39   ` [OE-core] " Mark Hatle
2020-09-28 15:44     ` Otavio Salvador
2020-09-29  0:11     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.