diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-08-13 15:07:50 +0000 |
---|---|---|
committer | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-09-01 15:19:06 +0000 |
commit | f68a622ea0ab438f699fcd5e29f6c4167c59029e (patch) | |
tree | 96b5141c4783bce51c3ce2901dbebc7fa5383e69 /morphlib/stagingarea.py | |
parent | 29d6b3d36e40317ab72bd543b7d644161906b723 (diff) | |
download | morph-f68a622ea0ab438f699fcd5e29f6c4167c59029e.tar.gz |
Improve build loggingtiagogomes/improve-debugging
Change-Id: If9a6b17797166c295f3c597cc6d17226d45957e7
Diffstat (limited to 'morphlib/stagingarea.py')
-rw-r--r-- | morphlib/stagingarea.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/morphlib/stagingarea.py b/morphlib/stagingarea.py index 9ab87950..65355d8a 100644 --- a/morphlib/stagingarea.py +++ b/morphlib/stagingarea.py @@ -284,7 +284,6 @@ class StagingArea(object): exit, out, err = self._app.runcmd_unchecked(cmdline, **kwargs) if exit != 0: - logging.debug('Command returned code %i', exit) chroot_script = self.dirname + '.sh' shell_command = ['env', '-i', '--'] for k, v in kwargs['env'].iteritems(): @@ -294,6 +293,6 @@ class StagingArea(object): shell_command, **container_config) with open(chroot_script, 'w') as f: f.write(' '.join(map(pipes.quote, cmdline))) - return exit + return exit, out, err |