summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-09-23 15:34:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-29 14:11:39 +0100
commit4bc3f0994e68b3302a0523a3156dd0dca0cac7a0 (patch)
treea1a5e633b6c52f3831da8b25d1aedc3010074da0 /bitbake/lib
parent9e1516d2bf495a26297df8a9db87ccf3eed9cd53 (diff)
downloadpoky-4bc3f0994e68b3302a0523a3156dd0dca0cac7a0.tar.gz
bitbake: toaster: move clones into subdirectory
By default Toaster clones layers to the same level where poky clone is. This can look messy if a lot of layers are used for Toaster builds. Moving them into _toaster_clones/ subdirectory should make directory structure looking cleaner. It also safer to isolate toaster clones from what user might create. (Bitbake rev: 139e851831eea682aba0f9403dcc2eea7c1b05bd) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index 8c4e9c7e36..a8d83986fe 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -183,7 +183,7 @@ class LocalhostBEController(BuildEnvironmentController):
183 def getGitCloneDirectory(self, url, branch): 183 def getGitCloneDirectory(self, url, branch):
184 """Construct unique clone directory name out of url and branch.""" 184 """Construct unique clone directory name out of url and branch."""
185 if branch != "HEAD": 185 if branch != "HEAD":
186 return "_%s_%s.toaster_cloned" % (re.sub('[:/]', '_', url), branch) 186 return "_toaster_clones/_%s_%s" % (re.sub('[:/]', '_', url), branch)
187 187
188 # word of attention; this is a localhost-specific issue; only on the localhost we expect to have "HEAD" releases 188 # word of attention; this is a localhost-specific issue; only on the localhost we expect to have "HEAD" releases
189 # which _ALWAYS_ means the current poky checkout 189 # which _ALWAYS_ means the current poky checkout