aboutsummaryrefslogtreecommitdiff
path: root/archiso_config/airootfs/etc/systemd/system
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2025-09-06 13:26:19 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2025-09-06 13:26:19 -0400
commit58c75f167fd210374129cd7cb5f259c698260ca6 (patch)
treef4a367670d3071e22d68255a0c01e14e8fce05f4 /archiso_config/airootfs/etc/systemd/system
parent0b11c5f77323f72fb56f8dc217c726133860f1f9 (diff)
downloadvoussoir-58c75f167fd210374129cd7cb5f259c698260ca6.tar.gz
voussoir-58c75f167fd210374129cd7cb5f259c698260ca6.tar.xz
Installer works, albeit basic
Diffstat (limited to 'archiso_config/airootfs/etc/systemd/system')
-rw-r--r--archiso_config/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount8
-rw-r--r--archiso_config/airootfs/etc/systemd/system/pacman-init.service15
2 files changed, 23 insertions, 0 deletions
diff --git a/archiso_config/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/archiso_config/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount
new file mode 100644
index 0000000..038961e
--- /dev/null
+++ b/archiso_config/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount
@@ -0,0 +1,8 @@
+[Unit]
+Description=Temporary /etc/pacman.d/gnupg directory
+
+[Mount]
+What=tmpfs
+Where=/etc/pacman.d/gnupg
+Type=tmpfs
+Options=mode=0755,noswap
diff --git a/archiso_config/airootfs/etc/systemd/system/pacman-init.service b/archiso_config/airootfs/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..b824884
--- /dev/null
+++ b/archiso_config/airootfs/etc/systemd/system/pacman-init.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Initializes Pacman keyring
+Requires=etc-pacman.d-gnupg.mount
+After=etc-pacman.d-gnupg.mount time-sync.target
+BindsTo=etc-pacman.d-gnupg.mount
+Before=archlinux-keyring-wkd-sync.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/pacman-key --init
+ExecStart=/usr/bin/pacman-key --populate
+
+[Install]
+WantedBy=multi-user.target