diff options
author | Tao Bao <tbao@google.com> | 2015-04-22 22:18:52 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-22 22:18:52 +0000 |
commit | 1699a90b2181f40c4796927d4404b1e02d65bf7b (patch) | |
tree | 47ca5eda95d78f7f99c7d028bd6afbd9c63a69b1 | |
parent | 9d50b548cdbd1e98f9b68ca256d63f03ae9dd3ce (diff) | |
parent | b93b9ec42d008a5478018d8055791e1d1449fa36 (diff) | |
download | build-1699a90b2181f40c4796927d4404b1e02d65bf7b.zip build-1699a90b2181f40c4796927d4404b1e02d65bf7b.tar.gz build-1699a90b2181f40c4796927d4404b1e02d65bf7b.tar.bz2 |
am b93b9ec4: am d8c62ae5: am 347d8e66: am 7f47c133: Merge "Add support for full radio option"
* commit 'b93b9ec42d008a5478018d8055791e1d1449fa36':
Add support for full radio option
-rwxr-xr-x | tools/releasetools/ota_from_target_files.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py index 21565fc..eab3daa 100755 --- a/tools/releasetools/ota_from_target_files.py +++ b/tools/releasetools/ota_from_target_files.py @@ -37,6 +37,11 @@ Usage: ota_from_target_files [flags] input_target_files output_ota_package Generate an incremental OTA using the given target-files zip as the starting build. + --full_radio + When generating an incremental OTA, always include a full copy of + radio image. This option is only meaningful when -i is specified, + because a full radio is always included in a full OTA if applicable. + -v (--verify) Remount and verify the checksums of the files written to the system and vendor (if used) partitions. Incremental builds only. @@ -117,6 +122,7 @@ OPTIONS.block_based = False OPTIONS.updater_binary = None OPTIONS.oem_source = None OPTIONS.fallback_to_full = True +OPTIONS.full_radio = False def MostPopularKey(d, default): """Given a dict, return the key corresponding to the largest @@ -1456,6 +1462,8 @@ def main(argv): OPTIONS.package_key = a elif o in ("-i", "--incremental_from"): OPTIONS.incremental_source = a + elif o == "--full_radio": + OPTIONS.full_radio = True elif o in ("-w", "--wipe_user_data"): OPTIONS.wipe_user_data = True elif o in ("-n", "--no_prereq"): @@ -1497,6 +1505,7 @@ def main(argv): "board_config=", "package_key=", "incremental_from=", + "full_radio", "wipe_user_data", "no_prereq", "extra_script=", |