summaryrefslogtreecommitdiff
path: root/units-add-Install-section-to-tmp.mount.patch
diff options
context:
space:
mode:
Diffstat (limited to 'units-add-Install-section-to-tmp.mount.patch')
-rw-r--r--units-add-Install-section-to-tmp.mount.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/units-add-Install-section-to-tmp.mount.patch b/units-add-Install-section-to-tmp.mount.patch
new file mode 100644
index 0000000..b7c1fd4
--- /dev/null
+++ b/units-add-Install-section-to-tmp.mount.patch
@@ -0,0 +1,25 @@
+From bb3d205bea1c83cbd0e27b504f5f1faa884fb602 Mon Sep 17 00:00:00 2001
+From: Jan Synacek <jsynacek@redhat.com>
+Date: Tue, 22 Jan 2019 10:28:42 +0100
+Subject: [PATCH] units: add [Install] section to tmp.mount
+
+Resolves: #1667065
+---
+ units/tmp.mount | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/units/tmp.mount b/units/tmp.mount
+index cf68378..66d9a32 100644
+--- a/units/tmp.mount
++++ b/units/tmp.mount
+@@ -23,3 +23,7 @@ What=tmpfs
+ Where=/tmp
+ Type=tmpfs
+ Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m
++
++# Make 'systemctl enable tmp.mount' work:
++[Install]
++WantedBy=local-fs.target
+--
+2.23.0
+