Detect ramdisk partition

Because Huawei, fix #400
This commit is contained in:
topjohnwu 2018-07-19 17:48:51 +08:00
parent 3ae959af95
commit 90379eeb35
1 changed files with 1 additions and 1 deletions

View File

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