mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
CommonInstaller: fixup
This commit is contained in:
parent
b3c7b2b14c
commit
4c841f03a9
@ -248,7 +248,7 @@ mount_partitions () {
|
||||
is_mounted /data || mount /data || error "failed to mount /data!"
|
||||
|
||||
mount -o bind /dev/urandom /dev/random
|
||||
! is_mounted /system && mount -o rw /system${SLOT}
|
||||
! is_mounted /system && mount -o rw system${SLOT}
|
||||
! is_mounted /system && mount -o rw ${SYSTEM_BLOCK} /system
|
||||
! is_mounted /system && error "failed to mount /system!"
|
||||
|
||||
@ -265,7 +265,7 @@ mount_partitions () {
|
||||
VENDOR_BLOCK=$(readlink -f ${vendor_tmp})
|
||||
echo " INFO: #7 [VENDOR_BLOCK] ${VENDOR_BLOCK}"
|
||||
|
||||
! is_mounted /vendor && mount -o ro /vendor${SLOT} || mount -o ro ${VENDOR_BLOCK} /vendor
|
||||
! is_mounted /vendor && mount -o ro vendor${SLOT} || mount -o ro ${VENDOR_BLOCK} /vendor
|
||||
|
||||
if [ -d /system/vendor -a ! is_mounted /vendor ]; then
|
||||
### XXX work-around required for some ROMs
|
||||
|
Loading…
Reference in New Issue
Block a user