Revert "Support more locations for dtbo img (#24)"
This reverts commit bafe4bd586.
A certain level of functioning recovery is expected by AnyKernel2 (versus this patch's source, the Magisk installer, which is extremely pessimistic).
This commit is contained in:
1 file changed
+1
-2
+1
-2
@@ -316,8 +316,7 @@ flash_boot() {
|
||||
fi;
|
||||
done;
|
||||
if [ "$dtbo" ]; then
|
||||
dtbo_block=`find /dev/block -iname dtbo$slot | head -n 1` 2>/dev/null;
|
||||
[ ! -z $dtbo_block ] && dtbo_block=`readlink -f $dtbo_block`
|
||||
dtbo_block=/dev/block/bootdevice/by-name/dtbo$slot;
|
||||
if [ ! -e "$(echo $dtbo_block)" ]; then
|
||||
ui_print " "; ui_print "dtbo partition could not be found. Aborting..."; exit 1;
|
||||
fi;
|
||||
|
||||
Reference in new issue
Block a user