busybox-initramfs: force mounting squashfs file as readonly

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-12 16:30:24 +02:00
parent efb3c2dd5f
commit fd576b95b9

View File

@ -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."