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

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 12 16:08:53 PST 2017


lynxis pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/5f1f34372b5172e62370e46cd7af8b686e66f92d

commit 5f1f34372b5172e62370e46cd7af8b686e66f92d
Author: Alexander Couzens <lynxis at fe80.eu>
AuthorDate: Fri Mar 3 01:27:34 2017 +0100

    phase1: rename gpg signature files .gpg -> .asc
    
    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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/phase1/signall.sh b/phase1/signall.sh
index d256131..519a7d6 100755
--- a/phase1/signall.sh
+++ b/phase1/signall.sh
@@ -21,13 +21,13 @@ umask 022
 mkdir "$tmpdir" || finish 2
 tar -C "$tmpdir/" -xzf "$tarball" || finish 3
 
-find "$tmpdir/" -type f -not -name "*.gpg" -exec gpg \
+find "$tmpdir/" -type f -not -name "*.asc" -exec gpg \
 	--no-version --batch --yes -a -b \
 	${keyid:+-u "$keyid"} \
 	${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
 



More information about the lede-commits mailing list