[LEDE-DEV] [PATCH][buildbot] phase1: rename gpg signature files .gpg -> .asc

Alexander Couzens lynxis at fe80.eu
Thu Mar 2 16:27:34 PST 2017


gnupg doesn't recognize .gpg files by it's extension.

> gpg --verify sha256sums.gpg
>> gpg: no signed data
>> gpg: can't hash datafile: No data

Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 phase1/signall.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phase1/signall.sh b/phase1/signall.sh
index d256131..2160bdc 100755
--- a/phase1/signall.sh
+++ b/phase1/signall.sh
@@ -27,7 +27,7 @@ find "$tmpdir/" -type f -not -name "*.gpg" -exec gpg \
 	${comment:+--comment="$comment"} \
 	${GNUPGHOME:+--homedir "$GNUPGHOME"} \
 	${PASSFILE:+--passphrase-file "$PASSFILE"} \
-	-o "{}.gpg" "{}" \; || finish 4
+	-o "{}.asc" "{}" \; || finish 4
 
 tar -C "$tmpdir/" -czf "$tarball" . || finish 5
 
-- 
2.11.1




More information about the Lede-dev mailing list