Commit 90379eeb authored by topjohnwu's avatar topjohnwu

Detect ramdisk partition

Because Huawei, fix #400
parent 3ae959af
...@@ -177,7 +177,7 @@ find_boot_image() { ...@@ -177,7 +177,7 @@ find_boot_image() {
if [ ! -z $SLOT ]; then if [ ! -z $SLOT ]; then
BOOTIMAGE=`find_block boot$SLOT ramdisk$SLOT` BOOTIMAGE=`find_block boot$SLOT ramdisk$SLOT`
else 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 fi
if [ -z $BOOTIMAGE ]; then if [ -z $BOOTIMAGE ]; then
# Lets see what fstabs tells me # Lets see what fstabs tells me
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment