From 220cd27d2ed63dfaa28eacaa9d89be8ffb17d9f9 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Mon, 18 Jul 2016 00:01:55 +0100 Subject: [PATCH] systemd: Do not unmount /storage and /flash at shutdown as this always fails --- ...emd-09_ignore-storage-flash-mount-points.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packages/sysutils/systemd/patches/systemd-09_ignore-storage-flash-mount-points.patch diff --git a/packages/sysutils/systemd/patches/systemd-09_ignore-storage-flash-mount-points.patch b/packages/sysutils/systemd/patches/systemd-09_ignore-storage-flash-mount-points.patch new file mode 100644 index 0000000000..dd50609f12 --- /dev/null +++ b/packages/sysutils/systemd/patches/systemd-09_ignore-storage-flash-mount-points.patch @@ -0,0 +1,15 @@ +diff -Naur a/src/core/mount-setup.c b/src/core/mount-setup.c +--- a/src/core/mount-setup.c 2016-07-17 21:54:48.947510924 +0100 ++++ b/src/core/mount-setup.c 2016-07-17 21:56:02.708552744 +0100 +@@ -121,7 +121,10 @@ + /* Container bind mounts */ + "/proc/sys\0" + "/dev/console\0" +- "/proc/kmsg\0"; ++ "/proc/kmsg\0" ++ /* LibreELEC: always busy */ ++ "/flash\0" ++ "/storage\0"; + + bool mount_point_is_api(const char *path) { + unsigned i;