summaryrefslogtreecommitdiff
path: root/configs/releng/root-image/etc/systemd/system/pacman-init.service
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-03 10:52:13 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-03 10:52:13 -0300
commitdd032a2e72157eaa29bf1ab7b1b6dadfc902aa6f (patch)
tree3e78cd266b69ee01d81e20997e327bc9da9df214 /configs/releng/root-image/etc/systemd/system/pacman-init.service
parent340ebed2808517933e26e0d6f2bf1b6f957f03ef (diff)
downloadarchiso32-dd032a2e72157eaa29bf1ab7b1b6dadfc902aa6f.tar.xz
[configs/releng] Add pacman-init.service
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/root-image/etc/systemd/system/pacman-init.service')
-rw-r--r--configs/releng/root-image/etc/systemd/system/pacman-init.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/configs/releng/root-image/etc/systemd/system/pacman-init.service b/configs/releng/root-image/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..2154476
--- /dev/null
+++ b/configs/releng/root-image/etc/systemd/system/pacman-init.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Initializes Pacman keyring
+Wants=haveged.service
+After=haveged.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/pacman-key --init
+ExecStart=/usr/bin/pacman-key --populate archlinux
+
+[Install]
+WantedBy=multi-user.target