From 76f275e993eec849bd7c03dc42504b6214774a85 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 6 Oct 2012 00:24:24 +0200 Subject: Use tmpfs for /etc/pacman.d/gnupg instead of a symlink to /run This fixes FS#31815 Signed-off-by: Pierre Schmitz --- .../releng/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount | 8 ++++++++ configs/releng/root-image/etc/systemd/system/pacman-init.service | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 configs/releng/root-image/etc/systemd/system/etc-pacman.d-gnupg.mount (limited to 'configs/releng/root-image/etc/systemd') 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 -- cgit v1.2.3-70-g09d2