diff options
author | Rob Austein <sra@hactrn.net> | 2016-06-22 13:25:54 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-06-22 13:25:54 -0400 |
commit | 8129748a055a8f3c1224fdb12c6c6bfbf558f5f3 (patch) | |
tree | 4b04a571454313618b8e1d2cbabc54d5cff8c802 | |
parent | 26fc6e2552488acba023b8f4c8c1670dbe328b0f (diff) |
SHA-256 hashes in manifest should use same naming scheme as files in tarball, doh.
-rwxr-xr-x | build-package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-package.py b/build-package.py index 17932a3..0df116b 100755 --- a/build-package.py +++ b/build-package.py @@ -21,7 +21,7 @@ sha256 = {} for fn in args.firmware: with open(fn, "rb") as f: - sha256[fn] = hashlib.sha256(f.read()).hexdigest() + sha256[os.path.basename(fn)] = hashlib.sha256(f.read()).hexdigest() tar.add(fn, os.path.basename(fn)) with tempfile.NamedTemporaryFile() as f: |