systemd: prevent unmounting flash via umount.target

add drop-in to set DefaultDependencies=no on /flash mount. This
removes the Conflicts=umount.target and /flash won't be unmounted
by systemd. systemd-shutdown will then later remount it ro and
try to unmount it.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2019-09-13 23:44:19 +02:00
parent ec342bdd9b
commit dd198bf0b4

View File

@ -0,0 +1,2 @@
[Unit]
DefaultDependencies=no