summaryrefslogtreecommitdiff
path: root/configs/profile/root-image/etc/systemd/system/pacman-init.service
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2013-09-02 20:03:39 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2013-09-02 20:03:39 -0300
commit17803d20925a72d31dbdbacf56cb0a7d2db6efcb (patch)
tree0ed799451bc20f98eeccbeb4bfca4dafa0fa3133 /configs/profile/root-image/etc/systemd/system/pacman-init.service
parenta5139a6e4ed897d59c900d8ea991c60a19d01862 (diff)
Leave only directory for profile releng
Diffstat (limited to 'configs/profile/root-image/etc/systemd/system/pacman-init.service')
-rw-r--r--configs/profile/root-image/etc/systemd/system/pacman-init.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/configs/profile/root-image/etc/systemd/system/pacman-init.service b/configs/profile/root-image/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..23b8144
--- /dev/null
+++ b/configs/profile/root-image/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