anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0235-units-add-Install-section-to-tmp.mount.patch

1ff636
From 6e9187c22c22872e8b0ade7a0e5603895797ede2 Mon Sep 17 00:00:00 2001
a4b143
From: Michal Schmidt <mschmidt@redhat.com>
a4b143
Date: Fri, 15 Feb 2013 09:07:57 +0100
572a44
Subject: [PATCH] units: add [Install] section to tmp.mount
a4b143
572a44
Change-Id: I2e6d129de00a9afaf7558006c886866f64394c29
a4b143
Related: #908253
1ff636
1ff636
Cherry-picked from: b4aeab33
1ff636
Resolves: #1199644
a4b143
---
572a44
 units/tmp.mount | 4 ++++
572a44
 1 file changed, 4 insertions(+)
a4b143
a4b143
diff --git a/units/tmp.mount b/units/tmp.mount
181b3f
index 00a0d2872..af0cf4a55 100644
a4b143
--- a/units/tmp.mount
a4b143
+++ b/units/tmp.mount
1ff636
@@ -19,3 +19,7 @@ What=tmpfs
a4b143
 Where=/tmp
a4b143
 Type=tmpfs
a4b143
 Options=mode=1777,strictatime
a4b143
+
572a44
+# Make 'systemctl enable tmp.mount' work:
a4b143
+[Install]
a4b143
+WantedBy=local-fs.target