diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-firmware-package.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |