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 e2d9375d31..e9f8c2a7ec 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -268,7 +268,7 @@ class LocalhostBEController(BuildEnvironmentController):
268 # branch magic name "HEAD" will inhibit checkout 268 # branch magic name "HEAD" will inhibit checkout
269 if commit != "HEAD": 269 if commit != "HEAD":
270 logger.debug("localhostbecontroller: checking out commit %s to %s " % (commit, localdirname)) 270 logger.debug("localhostbecontroller: checking out commit %s to %s " % (commit, localdirname))
271 self._shellcmd("git fetch --all && git checkout \"%s\" && git rebase \"origin/%s\"" % (commit, commit) , localdirname) 271 self._shellcmd('git fetch --all && git reset --hard "origin/%s"' % commit, localdirname)
272 272
273 # take the localdirname as poky dir if we can find the oe-init-build-env 273 # take the localdirname as poky dir if we can find the oe-init-build-env
274 if self.pokydirname is None and os.path.exists(os.path.join(localdirname, "oe-init-build-env")): 274 if self.pokydirname is None and os.path.exists(os.path.join(localdirname, "oe-init-build-env")):