summaryrefslogtreecommitdiff
path: root/payload_generator/payload_generation_config_unittest.cc
AgeCommit message (Collapse)Author
2019-07-01Rename product_services to system_extJustin Yun
Bug: 134359158 Test: run tests for update_engine_unittests Change-Id: I5d5b7f33f2b106f23152049f07e4b44c0cdcdc7e
2018-10-26Add dynamic_partition_metadata to update manifestYifan Hong
At build time, it will be filled with BOARD_SUPER_PARTITION_GROUPS, BOARD_*_SIZE, and BOARD_*_PARTITION_LIST. Only the information from the new target_files package is used. The META/dynamic_partition_info.txt from old target_files is ignored. Test: builds and manual OTA Bug: 117182932 Change-Id: I02ce99caaf7d01cec1470f7262c45490c15dfcb7
2016-08-10New setting to mark postinstall as optional.Alex Deymo
This setting allows to mark a postinstall script as optional. This allows the postinstall program to fail when it is not strictly required to run for the update to succeed. Bug: 27178350 TEST=Added unittest. Sideloaded an update with an optional postinstall. Change-Id: I41956d3308f3458b6bf94b835c9b5e470c84ca41
2015-11-12delta_generator: Include postinstall calls in the payload major version 2.Sen Jiang
Added a new flag --new_postinstall_config_file which takes a path to a key value store config file and saves this information to the PartitionUpdate field. The config file looks like this: RUN_POSTINSTALL_root=true POSTINSTALL_PATH_root=postinstall FILESYSTEM_TYPE_root=ext4 "root" can be changed to any partition name. Bug: 24537566 TEST=Generated a payload v2 with postinstall. TEST=Added unittest. Change-Id: Ied3c7bc2cfb54f4bcc69207f1e5bd473f72024fe