From e031ec1eafa14d20323f78f9a7fbf2eb01a324ce Mon Sep 17 00:00:00 2001 From: Levente Polyak <anthraxx@archlinux.org> Date: Sat, 2 Dec 2023 19:15:37 +0100 Subject: [PATCH] fix(test): avoid leftover gpg lockfile during container setup In gnupg 2.4 if we do not kill the deamon during container creation it will leave behind a lock file. This lock leads to hanging gpg processes when running the container. --- test/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Dockerfile b/test/Dockerfile index ec54236..97e8be4 100644 --- a/test/Dockerfile +++ b/test/Dockerfile @@ -72,6 +72,8 @@ Expire-Date: 0\n\ | gpg --quiet --batch --no-tty --no-permission-warning --gen-key && \ gpg --export | sudo pacman-key -a - && \ sudo pacman-key --lsign-key tester@localhost && \ + gpgconf --kill gpg-agent && \ + gpgconf --kill keyboxd && \ mkdir -p \ /build/staging/{{core,extra,multilib}{,-testing,-staging},gnome-unstable} && \ git config --global user.email "tester@localhost" && \ -- GitLab