diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-10-05 11:03:58 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-10-05 11:03:58 +0100 |
commit | fdf2746ab34038ed5751182da8a1f7ce074b5de4 (patch) | |
tree | 369bb00e7b5845986bdf6648c2e6719d2692a3b5 /morphlib | |
parent | d93d5ab93a2765882093aed992bb710216679113 (diff) | |
download | morph-fdf2746ab34038ed5751182da8a1f7ce074b5de4.tar.gz |
Put the commit id in the chunk metadata, not branch name or whatever.
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/builder.py | 4 |
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() |