mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
busybox-initramfs: force mounting squashfs file as readonly
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
efb3c2dd5f
commit
fd576b95b9
@ -95,7 +95,7 @@ REBOOT=0
|
||||
fi
|
||||
|
||||
if [ -f "/flash/$IMAGE_SYSTEM" ]; then
|
||||
mount_part "/flash/$IMAGE_SYSTEM" "/sysroot" "loop"
|
||||
mount_part "/flash/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
||||
[ $ERR_ENV -ne 0 ] && debug_shell
|
||||
else
|
||||
error "INIT_2" "Could not find system."
|
||||
|
Loading…
x
Reference in New Issue
Block a user