From 5f3a2ea0e3a48c0bdbf4993ef07bede44c3f3cd0 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Oct 2022 19:00:28 +0200 Subject: be more tolerant in pacman-init.service when updating keys --- configs/releng/airootfs/etc/systemd/system/pacman-init.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/releng/airootfs/etc/systemd/system/pacman-init.service b/configs/releng/airootfs/etc/systemd/system/pacman-init.service index 5ee3824..0db2b0f 100644 --- a/configs/releng/airootfs/etc/systemd/system/pacman-init.service +++ b/configs/releng/airootfs/etc/systemd/system/pacman-init.service @@ -8,9 +8,10 @@ Before=archlinux-keyring-wkd-sync.service [Service] Type=oneshot RemainAfterExit=yes +ExecStart=-rm -f /etc/pacman.d/gnupg ExecStart=/usr/bin/pacman-key --init -ExecStart=/usr/bin/pacman-key --populate archlinux -ExecStart=/usr/bin/pacman-key --populate archlinux32 +ExecStart=-/usr/bin/pacman-key --populate archlinux +ExecStart=-/usr/bin/pacman-key --populate archlinux32 [Install] WantedBy=multi-user.target -- cgit v1.2.3-70-g09d2