From 0e203fa35544ac1db582c89c913af9bef6911ade Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 7 Jun 2024 01:40:33 +0700 Subject: all: importing build.kilabit.info key on pacman-init.service The "pacman-key --init" does not needs to be run anymore since it will be handled by "archlinux-keyring-wkd-sync.timer". --- .gitignore | 1 + Makefile | 4 ++++ sys/etc/systemd/system/pacman-init.service | 6 +++--- 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 -- cgit v1.3