mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #3805 from HiassofT/le92-systemd-fix-fs-corruption
[le92] fix filesystem corruption on reboot/shutdown
This commit is contained in:
commit
97c2967826
@ -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;
|
@ -0,0 +1,2 @@
|
||||
[Unit]
|
||||
DefaultDependencies=no
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user