mirror of
https://github.com/FriendlyNeighborhoodShane/MinMicroG
synced 2024-11-02 21:40:34 +00:00
src: Add support for system mountpoint /mnt/system/system
This commit is contained in:
parent
e4ab5614d0
commit
316fdd2312
@ -69,10 +69,12 @@ log "Bootmode is $bootmode";
|
||||
$bootmode || {
|
||||
[ -e "/system" ] && mount -o ro /system;
|
||||
[ -e "/system_root" ] && mount -o ro /system_root;
|
||||
[ -e "/mnt/system" ] && mount -o ro /mnt/system;
|
||||
mount /data;
|
||||
}
|
||||
[ -e "/system/system/build.prop" ] && sysroot="system";
|
||||
[ -e "/system_root/system/build.prop" ] && sysroot="system_root";
|
||||
[ -e "/mnt/system/system/build.prop" ] && sysroot="mnt/system";
|
||||
[ -f "/$sysroot/system/build.prop" ] || abort "Could not find a ROM in /$sysroot";
|
||||
|
||||
bbdir="/tmp/busybox";
|
||||
|
Loading…
Reference in New Issue
Block a user