summaryrefslogtreecommitdiff
path: root/units/tmp.mount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-10-26 17:24:55 +0200
committerLennart Poettering <lennart@poettering.net>2017-11-10 19:52:41 +0100
commit3e3852b3c6c61506963112fd218a86b673fc61e6 (patch)
tree8009afd8598ddf721c9a53ec8a0f935bf9909a88 /units/tmp.mount
parentdcebc9bae4dcc3e844f01558c6127fc0d8745c8e (diff)
downloadsystemd-3e3852b3c6c61506963112fd218a86b673fc61e6.tar.gz
core: make "tmpfs" dependencies on swapfs a "default" dep, not an "implicit"
There should be a way to turn this logic of, and DefaultDependencies= appears to be the right option for that, hence let's downgrade this dependency type from "implicit" to "default, and thus honour DefaultDependencies=. This also drops mount_get_fstype() as we only have a single user needing this now. A follow-up for #7076.
Diffstat (limited to 'units/tmp.mount')
-rw-r--r--units/tmp.mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/tmp.mount b/units/tmp.mount
index a057fa1cf9..3a333d22ec 100644
--- a/units/tmp.mount
+++ b/units/tmp.mount
@@ -13,6 +13,7 @@ ConditionPathIsSymbolicLink=!/tmp
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target
+After=swap.target
[Mount]
What=tmpfs