summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/builder.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py
index d9cf97ab..b8ce2b58 100644
--- a/morphlib/builder.py
+++ b/morphlib/builder.py
@@ -82,7 +82,9 @@ class Builder(object):
self.ex.run(morph.test_commands)
os.mkdir(self._inst)
self.ex.run(morph.install_commands, as_root=True)
- self.prepare_binary_metadata(morph, repo=repo, ref=ref)
+ self.prepare_binary_metadata(morph,
+ repo=repo,
+ ref=self.get_git_commit_id(repo, ref))
self.create_chunk(morph, repo, ref)
self.tempdir.clear()