Align with the (default) commit message used by oe-git-archive script
(from yocto bug #10582)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
git_timestamp = "%d" % time.mktime(timestamp.timetuple())
# Commit to git
- commit_msg = "Results of {}:{} on {}\n\n".format(
- fmt_fields['branch'], fmt_fields['rev'], fmt_fields['host'])
+ commit_msg = """\
+Results of {branch}:{rev} on {host}
+
+branch: {branch}
+commit: {rev}
+hostname: {host}
+
+""".format(**fmt_fields)
if os.path.isdir(archive):
archive_fn += '/'