From 4c841f03a9a8e3b24f9b3ae7ca8e305287776b6b Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Tue, 29 Sep 2020 20:05:08 +0200 Subject: [PATCH] CommonInstaller: fixup --- CommonInstaller | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CommonInstaller b/CommonInstaller index d7742f3..ff65868 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -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