Cache files were getting spread all over. Use a more consistent directory
name to make it clear they are cache files.

Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
---
 scripts/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/utils.py b/scripts/utils.py
index 370a755..8e6463d 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -465,7 +465,7 @@ def setup_tools_tarball(ourconfig, btdir, bttarball, 
name="buildtools"):
             bttarball, sha256 = bttarball.split(";")
         btdir = os.path.abspath(btdir)
         if not os.path.exists(btdir):
-            btdlpath = getconfig("BASE_SHAREDDIR", ourconfig) + "/" + name + 
"/" + os.path.basename(bttarball)
+            btdlpath = getconfig("BASE_SHAREDDIR", ourconfig) + 
"/cluster-downloads-cache/" + os.path.basename(bttarball)
             print("Extracting %s %s" % (name, bttarball))
             btlock = btdlpath + ".lock"
             if not os.path.exists(os.path.dirname(btdlpath)):
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63989): https://lists.yoctoproject.org/g/yocto/message/63989
Mute This Topic: https://lists.yoctoproject.org/mt/108917148/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to