[neon/neon/livecd-rootfs/Neon/release_jammy] live-build/auto: gpg not gpg1 - hopefully signing will work again

Carlos De Maine null at kde.org
Mon Aug 5 12:11:01 BST 2024


Git commit b09558a66bb44abb7cb5c73b5ec592869140f83e by Carlos De Maine.
Committed on 05/08/2024 at 11:11.
Pushed by carlosdem into branch 'Neon/release_jammy'.

gpg not gpg1 - hopefully signing will work again

M  +2    -2    live-build/auto/build
M  +1    -1    live-build/auto/config

https://invent.kde.org/neon/neon/livecd-rootfs/-/commit/b09558a66bb44abb7cb5c73b5ec592869140f83e

diff --git a/live-build/auto/build b/live-build/auto/build
index 255c908b..09aa200e 100755
--- a/live-build/auto/build
+++ b/live-build/auto/build
@@ -147,7 +147,7 @@ Name-Real: Ubuntu Local Archive One-Time Signing Key
 Name-Email: cdimage at ubuntu.com
 Expire-Date: 0
 @@EOF
-		gpg1 --home config/gnupg --gen-key --batch < config/gnupg/NEWKEY \
+		gpg --home config/gnupg --gen-key --batch < config/gnupg/NEWKEY \
 			> config/gnupg/generate.log 2>&1 &
 		GPG_PROCESS=$!
 	fi
@@ -426,7 +426,7 @@ deb [arch=$(echo $LB_ARCHITECTURES | tr ' ', ',')] file:/var/lib/preinstalled-po
 				release chroot/var/lib/preinstalled-pool/dists/$R_CODENAME/ \
 					> config/gnupg/Release
 
-			gpg1 --home config/gnupg --detach-sign --armor config/gnupg/Release
+			gpg --home config/gnupg --detach-sign --armor config/gnupg/Release
 			mv config/gnupg/Release \
 				chroot/var/lib/preinstalled-pool/dists/$R_CODENAME/Release
 			mv config/gnupg/Release.asc \
diff --git a/live-build/auto/config b/live-build/auto/config
index 0feb42d5..f4f6483e 100755
--- a/live-build/auto/config
+++ b/live-build/auto/config
@@ -1521,7 +1521,7 @@ if [ "$EXTRA_PPAS" ]; then
 	      config/archives/extra-ppas.key.chroot
 	gpg_tmpdir="$(mktemp -d)"
 	run_gpg () {
-		gpg1 --no-default-keyring --no-options --homedir "$gpg_tmpdir" \
+		gpg --no-default-keyring --no-options --homedir "$gpg_tmpdir" \
 			--secret-keyring "$gpg_tmpdir/secring.gpg" \
 			--keyserver hkp://keyserver.ubuntu.com:80/ \
 			"$@"


More information about the Neon-commits mailing list