summaryrefslogtreecommitdiff
path: root/morphlib/builder.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-17 12:26:18 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-17 12:26:18 +0000
commit89a281b29af5c51d9c8fc39563cbb5e7e3112a69 (patch)
treef3bd76a0b5c49212ee46ef228737371e8d550874 /morphlib/builder.py
parent2752144a7689754ca8e47966f367db9df6c1a274 (diff)
downloadmorph-89a281b29af5c51d9c8fc39563cbb5e7e3112a69.tar.gz
Show the commands to be run in chroot
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r--morphlib/builder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py
index e11b2581..fc6ac2af 100644
--- a/morphlib/builder.py
+++ b/morphlib/builder.py
@@ -384,6 +384,7 @@ class ChunkBuilder(BlobBuilder):
assert self.builddir.startswith(self.staging + '/')
builddir = self.builddir[len(self.staging):]
for cmd in commands:
+ self.msg('about to execute in chroot: %s' % cmd)
script = os.path.join(self.staging, 'temp.sh')
with open(script, 'w') as f:
f.write('#!/bin/sh\n')