mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
no longer require mounting /data in all places
This commit is contained in:
parent
7411c61b9e
commit
6bc61c9925
@ -130,7 +130,7 @@ mount_partitions () {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
is_mounted /data || mount /data || error "failed to mount /data!"
|
is_mounted /data || mount /data || echo "failed to mount /data!"
|
||||||
|
|
||||||
mount -o bind /dev/urandom /dev/random
|
mount -o bind /dev/urandom /dev/random
|
||||||
|
|
||||||
@ -481,8 +481,6 @@ setup_patcher () {
|
|||||||
chmod 0755 "${BASEDIR}/${bin}" || \
|
chmod 0755 "${BASEDIR}/${bin}" || \
|
||||||
error "failed to prepare environment"
|
error "failed to prepare environment"
|
||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p /data/adb/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
call_dalvikvm () {
|
call_dalvikvm () {
|
||||||
|
@ -129,7 +129,7 @@ mount_partitions () {
|
|||||||
|
|
||||||
SYSTEM_AS_ROOT=$(grep_prop ro.build.system_root_image)
|
SYSTEM_AS_ROOT=$(grep_prop ro.build.system_root_image)
|
||||||
else
|
else
|
||||||
is_mounted /data || mount /data || error "failed to mount /data!"
|
is_mounted /data || mount /data || echo "failed to mount /data!"
|
||||||
|
|
||||||
mount -o bind /dev/urandom /dev/random
|
mount -o bind /dev/urandom /dev/random
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ mount_partitions () {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
is_mounted /data || mount /data || error "failed to mount /data!"
|
is_mounted /data || mount /data || echo "failed to mount /data!"
|
||||||
|
|
||||||
mount -o bind /dev/urandom /dev/random
|
mount -o bind /dev/urandom /dev/random
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user