diff --git a/packages/sysutils/systemd/patches/systemd-0005-ignore-storage-flash-mount-points.patch b/packages/sysutils/systemd/patches/systemd-0005-ignore-storage-flash-mount-points.patch deleted file mode 100644 index dd50609f12..0000000000 --- a/packages/sysutils/systemd/patches/systemd-0005-ignore-storage-flash-mount-points.patch +++ /dev/null @@ -1,15 +0,0 @@ -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; diff --git a/packages/sysutils/systemd/system.d/flash.mount.d/dependencies.conf b/packages/sysutils/systemd/system.d/flash.mount.d/dependencies.conf new file mode 100644 index 0000000000..911bbfa0ce --- /dev/null +++ b/packages/sysutils/systemd/system.d/flash.mount.d/dependencies.conf @@ -0,0 +1,2 @@ +[Unit] +DefaultDependencies=no diff --git a/scripts/install b/scripts/install index 8323fc84ec..ed2256c3dc 100755 --- a/scripts/install +++ b/scripts/install @@ -82,7 +82,7 @@ if [ "${TARGET}" = "target" ] ; then if [ -d ${PKG_TMP_DIR}/system.d ]; then mkdir -p ${INSTALL}/usr/lib/systemd/system - cp ${PKG_TMP_DIR}/system.d/*.* ${INSTALL}/usr/lib/systemd/system + cp -Pr ${PKG_TMP_DIR}/system.d/*.* ${INSTALL}/usr/lib/systemd/system fi if [ -d ${PKG_TMP_DIR}/udev.d ]; then