From 66c2c74147e817d962fd0abd32c958d921c1baa7 Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Mon, 9 Oct 2023 08:45:07 +0200 Subject: [PATCH] depot/publish: let gpg overwrite .sig files Without this change gpg aborted with gpg: Sorry, no terminal at all requested - can't get input and after adding --batch onlye with gpg: signing failed: File exists --- tool/depot/publish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/depot/publish b/tool/depot/publish index 0d13b86805..62040b97c0 100755 --- a/tool/depot/publish +++ b/tool/depot/publish @@ -126,7 +126,8 @@ MISSING_PUBKEY_FILES := $(sort \ $(if $(call pubkey_path,$A),,\ $(call pubkey_filename,$A)))) -_gpg_sign_target = $(GPG) --detach-sign --digest-algo SHA256 --no-tty --use-agent \ +_gpg_sign_target = $(GPG) --detach-sign --digest-algo SHA256 \ + --batch --yes --no-tty --use-agent \ --local-user $(call pubkey_id,$*) --output $@ < $< || \ ( rm -f $@; false )