From 9353d3933c46227326637597f1d78ae27bd4004a Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 28 Apr 2022 14:33:04 +0200 Subject: [PATCH] remove pacman init check, check on gpg after pacman-key is enough --- usr/lib/archboot/update-installer.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/usr/lib/archboot/update-installer.sh b/usr/lib/archboot/update-installer.sh index e89fcc545..a16ff1226 100644 --- a/usr/lib/archboot/update-installer.sh +++ b/usr/lib/archboot/update-installer.sh @@ -126,11 +126,6 @@ _gpg_check() { while pgrep -x gpg > /dev/null 2>&1; do sleep 1 done - while true; do - # gpg-agent finished in background - [[ "$(pgrep -x gpg-agent -c)" == "2" ]] && break - sleep 1 - done [[ "${_RUNNING_ARCH}" == "x86_64" ]] && systemctl stop pacman-init.service [[ "${_RUNNING_ARCH}" == "aarch64" ]] && systemctl stop pacman-init-arm.service }