Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36953 )
Change subject: util/release: Make signing with GPG 2 easier ......................................................................
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 --- M util/release/build-release 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/36953/1
diff --git a/util/release/build-release b/util/release/build-release index 224be5b..fd3f63c 100755 --- a/util/release/build-release +++ b/util/release/build-release @@ -10,6 +10,10 @@
set -e
+if [ -z "$GPG_TTY" ]; then + export GPG_TTY=$(tty) +fi + # set local + tz to be reproducible LC_ALL=C LANG=C
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36953 )
Change subject: util/release: Make signing with GPG 2 easier ......................................................................
Patch Set 2: Code-Review+2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/36953 )
Change subject: util/release: Make signing with GPG 2 easier ......................................................................
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 --- M util/release/build-release 1 file changed, 4 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Stefan Reinauer: Looks good to me, approved
diff --git a/util/release/build-release b/util/release/build-release index 224be5b..fd3f63c 100755 --- a/util/release/build-release +++ b/util/release/build-release @@ -10,6 +10,10 @@
set -e
+if [ -z "$GPG_TTY" ]; then + export GPG_TTY=$(tty) +fi + # set local + tz to be reproducible LC_ALL=C LANG=C