Revert to old find boot order

This commit is contained in:
topjohnwu 2019-04-04 20:01:59 -04:00
parent c10b376575
commit 5203886f0b
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@ 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 kern-a android_boot kernel boot lnx bootimg boot_a`
BOOTIMAGE=`find_block ramdisk recovery_ramdisk boot boot_a kern-a android_boot kernel lnx bootimg`
fi
if [ -z $BOOTIMAGE ]; then
# Lets see what fstabs tells me