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