1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-13 20:54:12 +01:00

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

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