From 26fc6e2552488acba023b8f4c8c1670dbe328b0f Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 22 Jun 2016 13:16:01 -0400 Subject: Fix script permission, and suppress gpg warning that doesn't really apply to dedicated build machine. --- build-package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 build-package.py diff --git a/build-package.py b/build-package.py old mode 100644 new mode 100755 index 494011e..17932a3 --- a/build-package.py +++ b/build-package.py @@ -25,7 +25,7 @@ for fn in args.firmware: tar.add(fn, os.path.basename(fn)) with tempfile.NamedTemporaryFile() as f: - gpg = subprocess.Popen(("gpg", "--clearsign", "--personal-digest-preferences", "SHA256"), + gpg = subprocess.Popen(("gpg", "--clearsign", "--personal-digest-preferences", "SHA256", "--no-permission-warning"), stdin = subprocess.PIPE, stdout = f) json.dump(dict(head = head, time = time, commits = commits, sha256 = sha256), gpg.stdin, indent = 2) gpg.stdin.close() -- cgit v1.2.3