diff options
author | Patrick Georgi <pgeorgi@google.com> | 2019-11-19 17:09:30 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-11-22 21:47:18 +0000 |
commit | d198e2e5536079378652f638a6d148b3c8a6eb03 (patch) | |
tree | 8568824fdb24d0d259be0e0aa5fceed4d72caaf9 /util/release | |
parent | 540b2adb6165a5a86bc575065445df63cf1516cf (diff) |
util/release: Make signing with GPG 2 easier
GPG 2 expects the GPG_TTY variable to be configured so
that it can properly ask for the passphrase. If it's
not already set, do so.
Change-Id: I7e145a492c9eceda40cc1a1e04452a78852042d1
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36953
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/release')
-rwxr-xr-x | util/release/build-release | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/release/build-release b/util/release/build-release index 224be5b0b4..fd3f63cbc9 100755 --- a/util/release/build-release +++ b/util/release/build-release @@ -10,6 +10,10 @@ GPG_KEY_ID=$4 set -e +if [ -z "$GPG_TTY" ]; then + export GPG_TTY=$(tty) +fi + # set local + tz to be reproducible LC_ALL=C LANG=C |