diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-07-28 15:24:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 11:29:35 +0100 |
commit | 9be8ea632c2bdd9acc4d9212c7f2871f8c2575a8 (patch) | |
tree | 42624977e255ed51b1edaaf5edffb84d3684dd42 /bitbake/lib/toaster | |
parent | 79c8ffa5d3e84ebd0420860e49fb5ee2cdc68406 (diff) | |
download | poky-9be8ea632c2bdd9acc4d9212c7f2871f8c2575a8.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index c0774a3a0b..231a7d3b3a 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -54,7 +54,7 @@ class LocalhostBEController(BuildEnvironmentController): | |||
54 | if cwd is None: | 54 | if cwd is None: |
55 | cwd = self.be.sourcedir | 55 | cwd = self.be.sourcedir |
56 | 56 | ||
57 | #logger.debug("lbc_shellcmmd: (%s) %s" % (cwd, command)) | 57 | logger.debug("lbc_shellcmmd: (%s) %s" % (cwd, command)) |
58 | p = subprocess.Popen(command, cwd = cwd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | 58 | p = subprocess.Popen(command, cwd = cwd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
59 | (out,err) = p.communicate() | 59 | (out,err) = p.communicate() |
60 | p.wait() | 60 | p.wait() |
@@ -63,10 +63,10 @@ class LocalhostBEController(BuildEnvironmentController): | |||
63 | err = "command: %s \n%s" % (command, out) | 63 | err = "command: %s \n%s" % (command, out) |
64 | else: | 64 | else: |
65 | err = "command: %s \n%s" % (command, err) | 65 | err = "command: %s \n%s" % (command, err) |
66 | #logger.warn("localhostbecontroller: shellcmd error %s" % err) | 66 | logger.warn("localhostbecontroller: shellcmd error %s" % err) |
67 | raise ShellCmdException(err) | 67 | raise ShellCmdException(err) |
68 | else: | 68 | else: |
69 | #logger.debug("localhostbecontroller: shellcmd success") | 69 | logger.debug("localhostbecontroller: shellcmd success") |
70 | return out | 70 | return out |
71 | 71 | ||
72 | def _setupBE(self): | 72 | def _setupBE(self): |