summaryrefslogtreecommitdiffstats
path: root/update_verifier/Android.bp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove py2 usagesCole Faust2022-09-121-13/+0
| | | | | | Bug: 203436762 Test: m nothing Change-Id: I22087b1bbcb4fff64cc41210c9d74537197bb367
* Convert recovery to use AIDL bootcontrol HALKelvin Zhang2022-06-221-1/+3
| | | | | | | Test: th Bug; 227536004 Change-Id: I14c0c337c931d10c9b9865a1c15eaff8fedf191e
* update_verifier: Verify blocksAkilesh Kailash2022-06-081-0/+4
| | | | | | | | | | | | | Check if the block verification was already done by snapuserd daemon - If so, skip the verification process. If daemon failed to verify the block, update_verifier will fallback and continue the verification. Bug: 193863442 Test: OTA Signed-off-by: Akilesh Kailash <akailash@google.com> Change-Id: I18946fb730376f19cce0738bd6765d5f5d0248b6
* Add caremap proto target for release toolsKelvin Zhang2021-06-031-0/+19
| | | | | Test: th Change-Id: I389a210e723ee179caf5f02f2bcb257c524fb076
* Switch care_map_generator.py to Python 3.Krzysztof KosiƄski2021-02-251-4/+4
| | | | | | | | This is the last remaining use of the python-symbol library from Python 2. Test: Ran 2to3 on the script, no changes reported. Change-Id: I9c8bf4840eaf1832cabc4b6af831f5c2de554d4f
* [LSC] Add LOCAL_LICENSE_KINDS to bootable/recoveryBob Badour2021-02-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added SPDX-license-identifier-Apache-2.0 to: applypatch/Android.bp bootloader_message/Android.bp edify/Android.bp fuse_sideload/Android.bp install/Android.bp minadbd/Android.bp minui/Android.bp otautil/Android.bp recovery_ui/Android.bp recovery_utils/Android.bp tests/Android.bp tools/image_generator/Android.bp tools/recovery_l10n/Android.bp uncrypt/Android.bp update_verifier/Android.bp updater/Android.bp updater/Android.mk updater_sample/Android.bp updater_sample/tests/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT SPDX-license-identifier-OFL to: Android.bp Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I3da761b525452838977297f773974000d4de7bd6
* Defer marking boot successful when checkpointingDaniel Rosenberg2019-02-071-0/+5
| | | | | | | | | | | | | | This moves actually marking the slot as successful to a later point so that on devices with checkpointing enabled we can still roll back to the previous version if we fail to boot to the point that the checkpoint is marked as successful. Test: When taking an update on a checkpoint enabled device, it defers marking the slot as successful instead of directly marking it. Visible in logs. Bug: 123260515 Change-Id: I7ed3595c1b0904ddbfe20d1cad4f69ecbf1ea351
* Refactor update_verifier into a classTianjie Xu2018-09-211-3/+2
| | | | | | | | | | | | | The refactor separates out the parsing of care_map and the actual verification of the partitions. Moreover, it skips the verification in case of a format error in the care map. Also, the parsing of care_map now uses the suffix of the file to tell if it has the protobuf format or the plain text format. Bug: 115740187 Test: unit test pass Change-Id: I7aa32004db02af1deb7bfdc6f5bd7921eb7883e5
* Add a python binary to generate the protobuf for care_mapTianjie Xu2018-08-171-1/+30
| | | | | | | | | | | | | | This binary parses the legacy care_map text in the input file and writes the generated protobuf message into the output file. For test purpose, it also has a "--parse_proto" option to reverse the process and convert a protobuf message file into plain text. The build script will then call the binary to generate the care_map.txt in the new format. Bug: 77867897 Test: Run the binary to convert a care_map.txt, run update_verifier Change-Id: I3ca65e19027404806132aa8d51e9bff766630c99
* Add proto3 support for care_mapTianjie Xu2018-07-251-0/+7
| | | | | | | | | | Switching to the protobuf format helps to make the care_map more extensible. As we have such plans in the future, add the support to parse the protobuf message in the update_verifier. Bug: 77867897 Test: unit tests pass, update_verifier successfully verifies a care_map.pb Change-Id: I9fe83cb4dd3cc8d6fd0260f2a47338fe142d3938
* update_verifier: Move to Soong.Tao Bao2018-04-201-0/+83
Test: mmma -j bootable/recovery Change-Id: I3a3574c89318304231c01f7633d32ece31df098c