summaryrefslogtreecommitdiff
path: root/morphlib/stagingarea.py
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2013-10-11 10:29:54 +0100
committerDaniel Firth <dan.firth@codethink.co.uk>2013-10-11 10:29:54 +0100
commitdbbee9a5f94569a330aa477bc5fc1bf3a1fd5d86 (patch)
tree42f21d88e3074214ea96f3600670fe3bfb871f09 /morphlib/stagingarea.py
parent090d21ed8e9cb7bd640c2632217399dc72e0df0a (diff)
parent31ca4d455d1bbce69c6dc461dbd506b3523ac2d9 (diff)
downloadmorph-dbbee9a5f94569a330aa477bc5fc1bf3a1fd5d86.tar.gz
Merge branch 'danielfirth/RT193'
Reviewed by: Lars Wirzenius Reviewed by: Pedro Alvarezwq
Diffstat (limited to 'morphlib/stagingarea.py')
-rw-r--r--morphlib/stagingarea.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/morphlib/stagingarea.py b/morphlib/stagingarea.py
index 7d034ff2..3cd3818c 100644
--- a/morphlib/stagingarea.py
+++ b/morphlib/stagingarea.py
@@ -156,8 +156,8 @@ class StagingArea(object):
'''
- logging.debug('Installing artifact %s' %
- getattr(handle, 'name', 'unknown name'))
+ self._app.status(msg='Installing artifact %s' %
+ getattr(handle, 'name', 'unknown name'))
chunk_cache_dir = os.path.join(self._app.settings['tempdir'], 'chunks')
unpacked_artifact = os.path.join(
@@ -296,7 +296,7 @@ class StagingArea(object):
if not self.use_chroot:
do_not_mount_dirs += [temp_dir]
- logging.debug("Not mounting dirs %r" % do_not_mount_dirs)
+ self._app.status(msg="Not mounting dirs %r" % do_not_mount_dirs)
real_argv = ['linux-user-chroot', '--chdir', cwd, '--unshare-net']
for d in morphlib.fsutils.invert_paths(os.walk(chroot_dir),