systemd: prevent unmounting storage via umount.target

/storage will be unmounted by systemd-shutdown, like /flash.

As the squashfs root has several symlinks to /storage it
should not be unmounted during the normal shutdown process.
This prevents the symlinked files/directories vanishing too early
and also removes the "unmount /storage failed" messages when
netbooting.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2019-11-15 17:04:59 +01:00
parent 092e574f57
commit dd6f2cfe5c

View File

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