possibly fix A/B device detection

merge-requests/23/head
Christopher Roy Bratusek 6 years ago
parent 97024b8ea4
commit 2a49ff28a6

@ -203,13 +203,14 @@ mount_partitions () {
mount -t ext4 -o rw $SYSTEMBLOCK /system
fi
[ ! -f /system/build.prop ] && error "failed to mount /system (unsupported A/B device?)"
if [ -f /system/init ]; then
mkdir /system_root 2>/dev/null
mount --move /system /system_root
mount -o bind /system_root/system /system
fi
[ ! -f /system/build.prop ] && error "failed to mount /system (unsupported A/B device?)"
}
detect_mode () {

Loading…
Cancel
Save