[Cryptech-Commits] [releng/alpha] 01/04: Clean up MANIFEST commit data.

git at cryptech.is git at cryptech.is
Wed Jun 14 14:06:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository releng/alpha.

commit 95ca2a828316b5350325d9c4bf33b0e2085ff360
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Thu Jun 8 23:13:06 2017 -0400

    Clean up MANIFEST commit data.
---
 scripts/build-firmware-package.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/build-firmware-package.py b/scripts/build-firmware-package.py
index c44b8bd..76000e6 100755
--- a/scripts/build-firmware-package.py
+++ b/scripts/build-firmware-package.py
@@ -16,7 +16,8 @@ args = parser.parse_args()
 tar     = tarfile.TarFile.open(fileobj = args.tarfile, mode = "w|gz")
 head    = subprocess.check_output(("git", "rev-parse", "HEAD")).strip()
 time    = subprocess.check_output(("git", "show", "-s", "--format=%ct", "HEAD")).strip()
-commits = [line.split() for line in subprocess.check_output(("git", "submodule", "status")).splitlines()]
+commits = dict((path, hash) for hash, path, branch in
+               (line.split() for line in subprocess.check_output(("git", "submodule", "status")).splitlines()))
 sha256  = {}
 
 for fn in args.firmware:



More information about the Commits mailing list