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

Commit b8939490 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Turns on building vbmeta.img when merging if avb_enable=true." am: adcf94d5

Original change: https://android-review.googlesource.com/c/platform/build/+/1506497

Change-Id: I54555f9efc50f335b3af3d1d55243ca86ac34627
parents 6043d1f3 adcf94d5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -456,6 +456,12 @@ def process_misc_info_txt(framework_target_files_temp_dir,
    # false in the partial builds to prevent duplicate building of super.img.
    merged_dict['build_super_partition'] = 'true'

  # If AVB is enabled then ensure that we build vbmeta.img.
  # Partial builds with AVB enabled may set PRODUCT_BUILD_VBMETA_IMAGE=false to
  # skip building an incomplete vbmeta.img.
  if merged_dict.get('avb_enable') == 'true':
    merged_dict['avb_building_vbmeta_image'] = 'true'

  # Replace <image>_selinux_fc values with framework or vendor file_contexts.bin
  # depending on which dictionary the key came from.
  # Only the file basename is required because all selinux_fc properties are