summaryrefslogtreecommitdiff
path: root/configs/gnome/root-image/etc/systemd
diff options
context:
space:
mode:
authorDrtan Samos <drtan@lavabit.com>2013-04-21 18:42:33 +0200
committerDrtan Samos <drtan@lavabit.com>2013-04-21 18:42:33 +0200
commit0e424891efc934ac7e5b334ffb19f3ef667c8b2a (patch)
treede96941b7389a726264ab181a351bc25d0359d67 /configs/gnome/root-image/etc/systemd
parent137bcdff54d2764542d9860dfcb1fd4781351209 (diff)
Introducing GNOME featured ISO.
Diffstat (limited to 'configs/gnome/root-image/etc/systemd')
-rw-r--r--configs/gnome/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount8
-rw-r--r--configs/gnome/root-image/etc/systemd/system/pacman-init.service16
2 files changed, 24 insertions, 0 deletions
diff --git a/configs/gnome/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount b/configs/gnome/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount
new file mode 100644
index 0000000..4eab551
--- /dev/null
+++ b/configs/gnome/root-image/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
diff --git a/configs/gnome/root-image/etc/systemd/system/pacman-init.service b/configs/gnome/root-image/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..3414ebc
--- /dev/null
+++ b/configs/gnome/root-image/etc/systemd/system/pacman-init.service
@@ -0,0 +1,16 @@
+[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
+ExecStart=/usr/bin/pacman-key --populate parabola
+
+[Install]
+WantedBy=multi-user.target