From 058e0fe42e1a32721c8572f74c54c620431144ea Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 4 Aug 2018 20:07:14 +0200 Subject: [PATCH] string change --- CommonInstaller | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CommonInstaller b/CommonInstaller index d26e8f6..d01da72 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -192,18 +192,18 @@ mount_partitions () { [ "${SLOT}" = "_" ] && SLOT= fi - is_mounted /data || mount /data 2>/dev/null + is_mounted /data || mount /data ${BOOTMODE} || mount -o bind /dev/urandom /dev/random - ! is_mounted /system && mount -o rw /system 2>/dev/null + ! is_mounted /system && mount -o rw /system if [ ! -f /system/build.prop ]; then SYSTEMBLOCK=$(find /dev/block -iname system${SLOT} | head -n 1) mount -t ext4 -o rw ${SYSTEMBLOCK} /system fi - [ -f /system/build.prop ] || is_mounted /system || error "failed to mount /system" + [ -f /system/build.prop ] || is_mounted /system || error "failed to mount /system (unsupported A/B device?)" if [ -f /system/init ]; then mkdir /system_root 2>/dev/null