From 3e3852b3c6c61506963112fd218a86b673fc61e6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 26 Oct 2017 17:24:55 +0200 Subject: 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. --- units/tmp.mount | 1 + 1 file changed, 1 insertion(+) (limited to 'units/tmp.mount') 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 -- cgit v1.2.1