Skip to content
Snippets Groups Projects
Unverified Commit f7988de9 authored by Casey's avatar Casey :recycle: Committed by Clayton Craft
Browse files

flash android boot image with fastboot-bootpart if not EFI booting (MR 68)

parent 9d3c1a81
No related branches found
No related tags found
No related merge requests found
......@@ -825,6 +825,14 @@ flash_updated_boot_parts() {
fastboot)
flash_android_bootimg "${deviceinfo_flash_fastboot_partition_kernel:-boot}"
;;
fastboot-bootpart)
# Flash the boot image IFF not booting with EFI
if ! [ -e /sys/firmware/efi ]; then
flash_android_bootimg boot
else
echo "SKIP: booting with EFI"
fi
;;
heimdall-bootimg)
flash_android_bootimg "${deviceinfo_flash_heimdall_partition_kernel:-KERNEL}"
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment