Revert "Revert to old find boot order"

This reverts commit 5203886f0bc535e913b17fe2adbc83beb85df6b9.
This commit is contained in:
topjohnwu 2019-04-05 15:18:39 -04:00
parent a4f5d47e72
commit 7af7910e78
2 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View File

@ -4,7 +4,6 @@ out
*.apk
config.prop
update.sh
/.vscode
# Built binaries
native/out

View File

@ -237,7 +237,7 @@ find_boot_image() {
elif [ ! -z $SLOT ]; then
BOOTIMAGE=`find_block ramdisk$SLOT recovery_ramdisk$SLOT boot$SLOT`
else
BOOTIMAGE=`find_block ramdisk recovery_ramdisk boot boot_a kern-a android_boot kernel lnx bootimg`
BOOTIMAGE=`find_block ramdisk recovery_ramdisk kern-a android_boot kernel boot lnx bootimg boot_a`
fi
if [ -z $BOOTIMAGE ]; then
# Lets see what fstabs tells me