for unknown reasons `package_extract_file("boot.img", "/dev/bootimg");` is doing nothing at 99% of the time
Change-Id: I74782867c3eb2a7039dbe16b2217eee9518580a6
# SELinux
BOARD_SECCOMP_POLICY := $(DEVICE_DIR)/seccomp
#BOARD_SEPOLICY_DIRS += $(DEVICE_DIR)/sepolicy
+
+TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_DIR)/releasetools
--- /dev/null
+def FullOTA_InstallEnd(info):
+ info.script.AppendExtra('package_extract_file("boot.img", "/tmp/boot.img");');
+ info.script.AppendExtra('run_program("/sbin/dd", "if=/tmp/boot.img", "of=/dev/bootimg");');