Message ID | 20220506155604.2401829-2-ross.burton@arm.com |
---|---|
State | Accepted, archived |
Commit | 52c37e133fa55846aca2248ffcf3a10648dbb8d7 |
Headers | show |
Series | [1/5] oeqa/selftest: add test for git working correctly inside pseudo | expand |
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 3515720bf9..16b7c69995 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -115,6 +115,9 @@ def setup_hosttools_dir(dest, toolsvar, d, fatal=True): tools = d.getVar(toolsvar).split() origbbenv = d.getVar("BB_ORIGENV", False) path = origbbenv.getVar("PATH") + # Need to ignore our own scripts directory to avoid circular links + ourscripts = d.expand("${COREBASE}/scripts") + path = path.replace(ourscripts, "/ignoreme") bb.utils.mkdirhier(dest) notfound = [] for tool in tools: