summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-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 4c175625d6..16c7c80441 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -192,7 +192,7 @@ class LocalhostBEController(BuildEnvironmentController):
192 if commit != "HEAD": 192 if commit != "HEAD":
193 logger.debug("localhostbecontroller: checking out commit %s to %s " % (commit, localdirname)) 193 logger.debug("localhostbecontroller: checking out commit %s to %s " % (commit, localdirname))
194 ref = commit if re.match('^[a-fA-F0-9]+$', commit) else 'origin/%s' % commit 194 ref = commit if re.match('^[a-fA-F0-9]+$', commit) else 'origin/%s' % commit
195 self._shellcmd('git fetch --all && git reset --hard "%s"' % ref, localdirname,env=git_env) 195 self._shellcmd('git fetch && git reset --hard "%s"' % ref, localdirname,env=git_env)
196 196
197 # take the localdirname as poky dir if we can find the oe-init-build-env 197 # take the localdirname as poky dir if we can find the oe-init-build-env
198 if self.pokydirname is None and os.path.exists(os.path.join(localdirname, "oe-init-build-env")): 198 if self.pokydirname is None and os.path.exists(os.path.join(localdirname, "oe-init-build-env")):