mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
decho () is only in CommonInstaller
This commit is contained in:
parent
0cedf2bf81
commit
bebbf79bfb
@ -141,14 +141,14 @@ mount_partitions () {
|
|||||||
[ -z ${SLOT} ] || SLOT=_${SLOT}
|
[ -z ${SLOT} ] || SLOT=_${SLOT}
|
||||||
fi
|
fi
|
||||||
[ -z ${SLOT} ] && DEVICE_AB=FALSE || DEVICE_AB=TRUE
|
[ -z ${SLOT} ] && DEVICE_AB=FALSE || DEVICE_AB=TRUE
|
||||||
decho " INFO: #1 [SLOT] ${SLOT}"
|
echo " INFO: #1 [SLOT] ${SLOT}"
|
||||||
|
|
||||||
is_mounted /data || mount /data || decho "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
|
||||||
|
|
||||||
SYSTEM_BLOCK=$(find_block system)
|
SYSTEM_BLOCK=$(find_block system)
|
||||||
decho " INFO: #5 [SYSTEM_BLOCK] ${SYSTEM_BLOCK}"
|
echo " INFO: #5 [SYSTEM_BLOCK] ${SYSTEM_BLOCK}"
|
||||||
|
|
||||||
if is_mounted /system_root; then
|
if is_mounted /system_root; then
|
||||||
umount /system 2&>/dev/null
|
umount /system 2&>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user