Don't set RECOVERYMODE if recovery_dtbo exists

Apparently some boot images with ramdisk still have recovery_dtbo,
so this assumption is no longer safe to do. Expect the user to
set this option properly themselves in the app.

Fix #4976, close #5070, close #5184
This commit is contained in:
topjohnwu 2022-01-11 00:17:20 -08:00
parent 1df2a04713
commit 490e51c1d7

View File

@ -101,8 +101,6 @@ case $? in
;;
esac
[ -f recovery_dtbo ] && RECOVERYMODE=true
###################
# Ramdisk Restores
###################