mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
init: storage should always be writable
fixes minor issue in installer, where some (non critical) systemd services fail to start
This commit is contained in:
parent
b729cebb2b
commit
d826fa2e44
@ -511,6 +511,9 @@
|
||||
fi
|
||||
fi
|
||||
mount_part "$disk" "/storage" "rw,noatime"
|
||||
else
|
||||
# /storage should always be writable
|
||||
mount -t tmpfs none /storage
|
||||
fi
|
||||
}
|
||||
|
||||
@ -627,10 +630,7 @@
|
||||
fi
|
||||
|
||||
mount --move /flash /sysroot/flash
|
||||
|
||||
if [ -n "$disk" ]; then
|
||||
mount --move /storage /sysroot/storage
|
||||
fi
|
||||
mount --move /storage /sysroot/storage
|
||||
|
||||
if [ ! -d "/sysroot/lib/modules/$(uname -r)/" -a -f "/sysroot/usr/lib/systemd/systemd" ]; then
|
||||
echo ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user