Loading tools/releasetools/ota_from_target_files.py +8 −0 Original line number Original line Diff line number Diff line Loading @@ -42,6 +42,10 @@ Usage: ota_from_target_files [flags] input_target_files output_ota_package radio image. This option is only meaningful when -i is specified, radio image. This option is only meaningful when -i is specified, because a full radio is always included in a full OTA if applicable. because a full radio is always included in a full OTA if applicable. --full_bootloader Similar to --full_radio. When generating an incremental OTA, always include a full copy of bootloader image. -v (--verify) -v (--verify) Remount and verify the checksums of the files written to the Remount and verify the checksums of the files written to the system and vendor (if used) partitions. Incremental builds only. system and vendor (if used) partitions. Incremental builds only. Loading Loading @@ -125,6 +129,7 @@ OPTIONS.updater_binary = None OPTIONS.oem_source = None OPTIONS.oem_source = None OPTIONS.fallback_to_full = True OPTIONS.fallback_to_full = True OPTIONS.full_radio = False OPTIONS.full_radio = False OPTIONS.full_bootloader = False def MostPopularKey(d, default): def MostPopularKey(d, default): Loading Loading @@ -1479,6 +1484,8 @@ def main(argv): OPTIONS.incremental_source = a OPTIONS.incremental_source = a elif o == "--full_radio": elif o == "--full_radio": OPTIONS.full_radio = True OPTIONS.full_radio = True elif o == "--full_bootloader": OPTIONS.full_bootloader = True elif o in ("-w", "--wipe_user_data"): elif o in ("-w", "--wipe_user_data"): OPTIONS.wipe_user_data = True OPTIONS.wipe_user_data = True elif o in ("-n", "--no_prereq"): elif o in ("-n", "--no_prereq"): Loading Loading @@ -1527,6 +1534,7 @@ def main(argv): "package_key=", "package_key=", "incremental_from=", "incremental_from=", "full_radio", "full_radio", "full_bootloader", "wipe_user_data", "wipe_user_data", "no_prereq", "no_prereq", "extra_script=", "extra_script=", Loading Loading
tools/releasetools/ota_from_target_files.py +8 −0 Original line number Original line Diff line number Diff line Loading @@ -42,6 +42,10 @@ Usage: ota_from_target_files [flags] input_target_files output_ota_package radio image. This option is only meaningful when -i is specified, radio image. This option is only meaningful when -i is specified, because a full radio is always included in a full OTA if applicable. because a full radio is always included in a full OTA if applicable. --full_bootloader Similar to --full_radio. When generating an incremental OTA, always include a full copy of bootloader image. -v (--verify) -v (--verify) Remount and verify the checksums of the files written to the Remount and verify the checksums of the files written to the system and vendor (if used) partitions. Incremental builds only. system and vendor (if used) partitions. Incremental builds only. Loading Loading @@ -125,6 +129,7 @@ OPTIONS.updater_binary = None OPTIONS.oem_source = None OPTIONS.oem_source = None OPTIONS.fallback_to_full = True OPTIONS.fallback_to_full = True OPTIONS.full_radio = False OPTIONS.full_radio = False OPTIONS.full_bootloader = False def MostPopularKey(d, default): def MostPopularKey(d, default): Loading Loading @@ -1479,6 +1484,8 @@ def main(argv): OPTIONS.incremental_source = a OPTIONS.incremental_source = a elif o == "--full_radio": elif o == "--full_radio": OPTIONS.full_radio = True OPTIONS.full_radio = True elif o == "--full_bootloader": OPTIONS.full_bootloader = True elif o in ("-w", "--wipe_user_data"): elif o in ("-w", "--wipe_user_data"): OPTIONS.wipe_user_data = True OPTIONS.wipe_user_data = True elif o in ("-n", "--no_prereq"): elif o in ("-n", "--no_prereq"): Loading Loading @@ -1527,6 +1534,7 @@ def main(argv): "package_key=", "package_key=", "incremental_from=", "incremental_from=", "full_radio", "full_radio", "full_bootloader", "wipe_user_data", "wipe_user_data", "no_prereq", "no_prereq", "extra_script=", "extra_script=", Loading