summaryrefslogtreecommitdiff
path: root/liveusb/airootfs/etc/systemd/system/pacman-init.service
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-12-06 00:14:11 +0100
committerYuval Adam <yuv.adm@gmail.com>2014-12-06 00:14:11 +0100
commitad900a84709bb6c2b751f9d5bed2ce7280c7dc04 (patch)
tree89b121dbbbf08fc6dc5b91e867f203012075957a /liveusb/airootfs/etc/systemd/system/pacman-init.service
parent1aca4d1a3d7a1a444cc555f81ad488ce1ab67522 (diff)
Soup up the config, use the releng profile
Diffstat (limited to 'liveusb/airootfs/etc/systemd/system/pacman-init.service')
-rw-r--r--liveusb/airootfs/etc/systemd/system/pacman-init.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/liveusb/airootfs/etc/systemd/system/pacman-init.service b/liveusb/airootfs/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..23b8144
--- /dev/null
+++ b/liveusb/airootfs/etc/systemd/system/pacman-init.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Initializes Pacman keyring
+Wants=haveged.service
+After=haveged.service
+Requires=etc-pacman.d-gnupg.mount
+After=etc-pacman.d-gnupg.mount
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/pacman-key --init
+ExecStart=/usr/bin/pacman-key --populate archlinux
+
+[Install]
+WantedBy=multi-user.target