aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
-rw-r--r--sys/etc/systemd/system/pacman-init.service6
3 files changed, 8 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index e6e5e7b..caebcbf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
*.html
+*.log
*.tar.gz
diff --git a/Makefile b/Makefile
index 93438aa..f01f957 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,10 @@ publish:
awwan local gcloud-image-publish.aww 5-
awwan local gcloud-image-cleanup.aww 5-
+.PHONY: test
+test:
+ awwan local gcloud-image-test.aww 4-18
+
## Preview the .md files in local using ciigo [1].
.PHONY: serve-doc
serve-doc:
diff --git a/sys/etc/systemd/system/pacman-init.service b/sys/etc/systemd/system/pacman-init.service
index ed515f4..60af106 100644
--- a/sys/etc/systemd/system/pacman-init.service
+++ b/sys/etc/systemd/system/pacman-init.service
@@ -1,12 +1,12 @@
[Unit]
Description=Pacman keyring initialization
-ConditionDirectoryNotEmpty=!/etc/pacman.d/gnupg
+Wants=network-online.target
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=/usr/bin/pacman-key --init
-ExecStart=/usr/bin/pacman-key --populate archlinux
+ExecStart=/usr/bin/pacman-key --recv-key B24B7E71D51210D9292E1B3E4A5360B500C9C4F0
+ExecStart=/usr/bin/pacman-key --lsign-key B24B7E71D51210D9292E1B3E4A5360B500C9C4F0
[Install]
WantedBy=multi-user.target