From dd6f2cfe5cf4b41c204fe1906e17facbbe111fc2 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Fri, 15 Nov 2019 17:04:59 +0100 Subject: [PATCH] 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 --- .../sysutils/systemd/system.d/storage.mount.d/dependencies.conf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 packages/sysutils/systemd/system.d/storage.mount.d/dependencies.conf diff --git a/packages/sysutils/systemd/system.d/storage.mount.d/dependencies.conf b/packages/sysutils/systemd/system.d/storage.mount.d/dependencies.conf new file mode 100644 index 0000000000..911bbfa0ce --- /dev/null +++ b/packages/sysutils/systemd/system.d/storage.mount.d/dependencies.conf @@ -0,0 +1,2 @@ +[Unit] +DefaultDependencies=no