[neon/neon/livecd-rootfs/Neon/release] live-build/auto: more debug on gpg-agent
Carlos De Maine
null at kde.org
Sat Dec 14 23:49:47 GMT 2024
Git commit f2af407fb2b02f76a362194e1e6ed7455d04504e by Carlos De Maine.
Committed on 14/12/2024 at 23:49.
Pushed by carlosdem into branch 'Neon/release'.
more debug on gpg-agent
M +5 -2 live-build/auto/build
https://invent.kde.org/neon/neon/livecd-rootfs/-/commit/f2af407fb2b02f76a362194e1e6ed7455d04504e
diff --git a/live-build/auto/build b/live-build/auto/build
index a5487c92..08713566 100755
--- a/live-build/auto/build
+++ b/live-build/auto/build
@@ -135,13 +135,16 @@ Expire-Date: 0
@@EOF
#make sure gpg home dir has appropriate permissions
+ systemctl --user status gpg-agent.service
+ systemctl --user restart gpg-agent.service
+ systemctl --user status gpg-agent.service
mkdir -p config/gnupg
chown -R root config/gnupg/
chmod 600 config/gnupg/*
chmod 700 config/gnupg
ls -lsh /usr/bin/gpg*
ls -lsh config/gnupg
- gpg-connect-agent /bye
+
gpg --verbose --home config/gnupg --gen-key --batch < config/gnupg/NEWKEY \
> config/gnupg/generate.log 2>&1 &
GPG_PROCESS=$!
@@ -323,7 +326,7 @@ Signed-By: /etc/apt/keyrings/preinstalled-pool.gpg
echo "Waiting on gnupg ("$GPG_PROCESS") to finish generating a key."
- ls -lsh
+ ls -lshR config
cat config/gnupg/generate.log
wait $GPG_PROCESS
More information about the Neon-commits
mailing list