build$ grep -irsn "ota_from_target_files" .
./core/Makefile:1448:@echo ./build/tools/releasetools/ota_from_target_files -v \
./core/Makefile:1454:$(hide) ./build/tools/releasetools/ota_from_target_files -v \
./tools/releasetools/ota_from_target_files:22:Usage: ota_from_target_files [flags] input_target_files output_ota_package
-n (--no_prereq)
Omit the timestamp prereq check normally included at the top of
the build scripts (used for developer OTA packages which
legitimately need to go back and forth).
-n 是否在升级时不检查时间戳,缺省情况下只能基于老的版本升级
Android OTA 升级之二:脚本 ota_from_target_files