From 5ce0e9f2d420f94bcf81e1ca476e11def1481a80 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Thu, 2 Aug 2018 13:51:44 -0700 Subject: [PATCH] AK2: Move flash_dtbo into write_boot split_boot is for fine grained control over what exactly gets flashed at what point. It makes more sense for flash_dtbo to live in write_boot, which does everything all at once. Signed-off-by: Nathan Chancellor --- tools/ak2-core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ak2-core.sh b/tools/ak2-core.sh index cb88a81..e5fbd36 100755 --- a/tools/ak2-core.sh +++ b/tools/ak2-core.sh @@ -335,11 +335,11 @@ flash_boot() { dd if=/dev/zero of=$block 2>/dev/null; dd if=/tmp/anykernel/boot-new.img of=$block; fi; - flash_dtbo; } write_boot() { repack_ramdisk; flash_boot; + flash_dtbo; } # backup_file