diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-02-12 12:48:11 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-02-12 12:48:11 +0100 |
commit | 9cb823f4894479454a275b247511dd350e8ef1ca (patch) | |
tree | ab2e8c48976ba9d1a99360d1ec9320daf66ec72d | |
parent | d7dc924174ea42686abacfedbfad88941d81e312 (diff) | |
download | pengutronix-archive-keyring-9cb823f4894479454a275b247511dd350e8ef1ca.tar.gz pengutronix-archive-keyring-9cb823f4894479454a275b247511dd350e8ef1ca.tar.xz |
README: fix oldgpgid assignment
The old command only works if the old key is in the default keyring.
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ Optionally drop old keys by just deleting them. $ oldyear=$(($year - 2)) $ if test -f pengutronix-archive-keyring-$oldyear.gpg; then - oldgpgid=$(gpg --list-key --with-colons "Pengutronix Archive Signing Key ($oldyear)" | awk -F: '$1 == "pub" { print $5 }') + oldgpgid=$(gpg --no-default-keyring --keyring ./pengutronix-archive-keyring-$oldyear.gpg --list-key --with-colons "Pengutronix Archive Signing Key ($oldyear)" | awk -F: '$1 == "pub" { print $5 }') git rm pengutronix-archive-keyring-$oldyear.gpg dch -v $pkgversion "drop old key $oldgpgid for $oldyear" git add debian/changelog |