From 58c75f167fd210374129cd7cb5f259c698260ca6 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 6 Sep 2025 13:26:19 -0400 Subject: Installer works, albeit basic --- .../airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount | 8 ++++++++ .../airootfs/etc/systemd/system/pacman-init.service | 15 +++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 archiso_config/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount create mode 100644 archiso_config/airootfs/etc/systemd/system/pacman-init.service (limited to 'archiso_config/airootfs/etc/systemd/system') 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 -- cgit v1.2.3