summaryrefslogtreecommitdiff
path: root/morphlib/buildcommand.py
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2013-03-16 17:19:58 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2013-03-16 17:19:58 +0000
commit7a3e97aed82990401f1fc7de7fbc2639caa8bb1f (patch)
treeac5b09563e33ed7ca902dfbcfcc75524d0e1821c /morphlib/buildcommand.py
parent754aa57e5560fbc40e324cda2dfffaa6d6b7b9d2 (diff)
downloadmorph-7a3e97aed82990401f1fc7de7fbc2639caa8bb1f.tar.gz
add short sha1 for each actual build line in log
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r--morphlib/buildcommand.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index 11bd9c57..8dfa4df1 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -388,8 +388,8 @@ class BuildCommand(object):
def build_and_cache(self, staging_area, artifact, setup_mounts):
'''Build an artifact and put it into the local artifact cache.'''
- self.app.status(msg='[%(name)s] Starting actual build: %(name)s',
- name=artifact.name)
+ self.app.status(msg='[%(name)s] Starting actual build: %(name)s %(sha1)s',
+ name=artifact.name, sha1=artifact.source.sha1[:7])
setup_mounts = self.app.settings['staging-chroot']
builder = morphlib.builder2.Builder(
self.app, staging_area, self.lac, self.rac, self.lrc,