Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4de9bb23 authored by Kelvin Zhang's avatar Kelvin Zhang
Browse files

Reland: Enable verity computation on VABC devices

Test: th
Test: Manual OTA test on bramble, pause/resume multiple times
Test: verity enabled, VABC enabled OTA
Test: verity enabled, VABC disabled OTA
Test: verity disabled, VABC enabled OTA
Test: verity disabled, VABC disabled OTA

Change-Id: Ia236984b158761f84f54ab7a6d3d49491c249546
parent 3218d79a
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1064,11 +1064,6 @@ def GenerateAbOtaPackage(target_file, output_file, source_file=None):
    # build doesn't supports it.
    if not source_info.is_vabc or not target_info.is_vabc:
      OPTIONS.disable_vabc = True
    if not OPTIONS.disable_vabc:
      # TODO(zhangkelvin) Remove this once FEC on VABC is supported
      logger.info("Virtual AB Compression enabled, disabling FEC")
      OPTIONS.disable_fec_computation = True
      OPTIONS.disable_verity_computation = True

  else:
    assert "ab_partitions" in OPTIONS.info_dict, \