Backend: mask error on TWRP devices without /system_root in fstab
This commit is contained in:
1 parent
ff4f310e3a
commit
e2987e3947
1 file changed
+1
-1
@@ -127,7 +127,7 @@ if [ -f /system/system/build.prop ]; then
|
|||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
$bb umount /system;
|
$bb umount /system;
|
||||||
$bb umount /system 2>/dev/null;
|
$bb umount /system 2>/dev/null;
|
||||||
$bb mount -o ro -t auto /system_root || $bb mount -o ro -t auto /dev/block/bootdevice/by-name/system /system_root;
|
$bb mount -o ro -t auto /system_root 2>/dev/null || $bb mount -o ro -t auto /dev/block/bootdevice/by-name/system /system_root;
|
||||||
fi;
|
fi;
|
||||||
$bb mount -o bind /system_root/system /system;
|
$bb mount -o bind /system_root/system /system;
|
||||||
fi;
|
fi;
|
||||||
|
|||||||
Reference in new issue
Block a user