Fix mounting for newer SAR systems

Somebody finally bothered to tell me where  they hide their build.prop
gf-arm64
FriendlyNeighborhoodShane 4 years ago
parent 86a4c169f4
commit 9e5c0cfc2a

@ -53,11 +53,8 @@ log "Zip File is $zipfile";
log "Bootmode is $bootmode";
$bootmode || {
if [ -e "/system_root" ]; then
mount -o ro /system_root;
else
mount -o ro /system;
fi;
[ -e "/system" ] && mount -o ro /system;
[ -e "/system_root" ] && mount -o ro /system_root;
mount /data;
}
[ -e "/system/system/build.prop" ] && sysroot="system";

Loading…
Cancel
Save