Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/root-image/etc/systemd/system
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-10-06 00:24:24 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-10-06 00:24:24 +0200
commit76f275e993eec849bd7c03dc42504b6214774a85 (patch)
treea30b492a2bd30c6cfc37dbd95f1d79c3cbe66ad7 /configs/releng/root-image/etc/systemd/system
parent39bf4183d11fa2443176c948b9a86297ff0cb50f (diff)
Use tmpfs for /etc/pacman.d/gnupg instead of a symlink to /run
This fixes FS#31815 Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'configs/releng/root-image/etc/systemd/system')
-rw-r--r--configs/releng/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount8
-rw-r--r--configs/releng/root-image/etc/systemd/system/pacman-init.service2
2 files changed, 10 insertions, 0 deletions
diff --git a/configs/releng/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount b/configs/releng/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount
new file mode 100644
index 0000000..4eab551
--- /dev/null
+++ b/configs/releng/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/releng/root-image/etc/systemd/system/pacman-init.service b/configs/releng/root-image/etc/systemd/system/pacman-init.service
index 2154476..23b8144 100644
--- a/configs/releng/root-image/etc/systemd/system/pacman-init.service
+++ b/configs/releng/root-image/etc/systemd/system/pacman-init.service
@@ -2,6 +2,8 @@
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