mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
bitbake: bitbake: toaster: Uncomment logging messages
Uncommented debug and warning messages in _shellcmd method of LocalhostBEController as they seem to be useful for debugging. (Bitbake rev: 9446f02520a3bee4417908d8da2ab1848f4759c3) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
79c8ffa5d3
commit
9be8ea632c
@@ -54,7 +54,7 @@ class LocalhostBEController(BuildEnvironmentController):
|
|||||||
if cwd is None:
|
if cwd is None:
|
||||||
cwd = self.be.sourcedir
|
cwd = self.be.sourcedir
|
||||||
|
|
||||||
#logger.debug("lbc_shellcmmd: (%s) %s" % (cwd, command))
|
logger.debug("lbc_shellcmmd: (%s) %s" % (cwd, command))
|
||||||
p = subprocess.Popen(command, cwd = cwd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
p = subprocess.Popen(command, cwd = cwd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
(out,err) = p.communicate()
|
(out,err) = p.communicate()
|
||||||
p.wait()
|
p.wait()
|
||||||
@@ -63,10 +63,10 @@ class LocalhostBEController(BuildEnvironmentController):
|
|||||||
err = "command: %s \n%s" % (command, out)
|
err = "command: %s \n%s" % (command, out)
|
||||||
else:
|
else:
|
||||||
err = "command: %s \n%s" % (command, err)
|
err = "command: %s \n%s" % (command, err)
|
||||||
#logger.warn("localhostbecontroller: shellcmd error %s" % err)
|
logger.warn("localhostbecontroller: shellcmd error %s" % err)
|
||||||
raise ShellCmdException(err)
|
raise ShellCmdException(err)
|
||||||
else:
|
else:
|
||||||
#logger.debug("localhostbecontroller: shellcmd success")
|
logger.debug("localhostbecontroller: shellcmd success")
|
||||||
return out
|
return out
|
||||||
|
|
||||||
def _setupBE(self):
|
def _setupBE(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user