platform_build/tools/releasetools
Tao Bao 667ff57272 releasetools: Specify SWITCH_SLOT_ON_REBOOT for secondary payload.
The secondary payload should always be applied with
SWITCH_SLOT_ON_REBOOT=0. This CL moves the 'secondary' parameter from
Payload.WriteToZip() to Payload.__init__(). So it can append the flag to
secondary/payload_properties.txt.

Bug: 35724498
Test: Generate an A/B OTA with --include_secondary. Check
      secondary/payload_properties.txt entry in the generated ZIP.
Test: `python -m unittest test_ota_from_target_files`
Change-Id: I816c07ab57a1c8a52eff785801634b8b1cb134d4
2018-02-10 00:13:07 -08:00
..
testdata releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
add_img_to_target_files
add_img_to_target_files.py releasetools: Move the AVB salt setup into common.LoadInfoDict(). 2018-01-31 12:25:10 -08:00
blockimgdiff.py releasetools: Refactor the condition checking for using imgdiff. 2018-02-09 12:46:01 -08:00
build_image.py Support /product partition 2018-01-25 09:33:58 +09:00
check_ota_package_signature.py releasetools: Capture stderr output when calling delta_generator. 2018-02-05 23:39:23 -08:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py releasetools: Add a note for the ZipInfo._decodeExtra() workaround. 2018-01-17 10:10:00 -08:00
common.py releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
edify_generator.py releasetools: Add a BuildInfo class. 2018-01-09 15:08:23 -08:00
img_from_target_files
img_from_target_files.py Remove the obsolete logic in img_from_target_files.py. 2017-05-31 11:17:56 -07:00
make_recovery_patch Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
make_recovery_patch.py releasetools: Replace print stmt with print(). 2017-01-13 14:55:14 -08:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py releasetools: Specify SWITCH_SLOT_ON_REBOOT for secondary payload. 2018-02-10 00:13:07 -08:00
ota_package_parser.py Add a script to parse an block-based ota package 2017-05-09 21:01:19 +00:00
OWNERS Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
pylintrc releasetools: Remove deprecated pylint options. 2017-12-04 12:15:23 -08:00
rangelib.py releasetools: RangeSet.monotonic is not an optional attribute. 2018-02-06 16:00:52 -08:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
sparse_img.py Protect SparseImage._GetRangeData() with lock 2018-01-29 11:52:10 -08:00
target_files_diff.py target_files_diff: Fix the issue with file type change. 2016-04-25 18:35:20 +00:00
test_add_img_to_target_files.py releasetools: Refactor AddImagesToTargetFiles(). 2018-01-18 23:37:23 -08:00
test_blockimgdiff.py releasetools: Refactor the condition checking for using imgdiff. 2018-02-09 12:46:01 -08:00
test_build_image.py releasetools: Move assertions into CheckHeadroom(). 2018-01-03 11:52:16 -08:00
test_common.py releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
test_ota_from_target_files.py releasetools: Specify SWITCH_SLOT_ON_REBOOT for secondary payload. 2018-02-10 00:13:07 -08:00
test_rangelib.py Analyze unchanged blocks in odex files. 2016-09-23 12:15:23 -07:00
test_sign_target_files_apks.py releasetools: Clean up ReplaceVerityKeyId and add tests. 2018-01-02 12:29:31 -08:00
test_utils.py releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
validate_target_files.py releasetools: Detect incomplete block ranges. 2018-02-01 12:35:48 -08:00