Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-01 19:00:28 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-01 19:00:28 +0200
commit5f3a2ea0e3a48c0bdbf4993ef07bede44c3f3cd0 (patch)
treefc735272aa5f5f4f1d7a3b7662058707346f7699
parent7df71c4cb13922971ab873e6df900704f6bb8f8d (diff)
be more tolerant in pacman-init.service when updating keys
-rw-r--r--configs/releng/airootfs/etc/systemd/system/pacman-init.service5
1 files 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