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 <natechancellor@gmail.com>
This commit is contained in:
Nathan Chancellor authored and Chris Renshaw committed 2018-08-03 00:03:46 -03:00
1 parent d067d39b83
commit 5ce0e9f2d4
1 file changed
+1 -1
+1 -1
View File
@@ -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 <file>