From 95ca2a828316b5350325d9c4bf33b0e2085ff360 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 8 Jun 2017 23:13:06 -0400 Subject: Clean up MANIFEST commit data. --- scripts/build-firmware-package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/build-firmware-package.py') 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: -- cgit v1.2.3