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

Commit adcf94d5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents ca3faad9 38888d39
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line 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.
    # false in the partial builds to prevent duplicate building of super.img.
    merged_dict['build_super_partition'] = 'true'
    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
  # Replace <image>_selinux_fc values with framework or vendor file_contexts.bin
  # depending on which dictionary the key came from.
  # depending on which dictionary the key came from.
  # Only the file basename is required because all selinux_fc properties are
  # Only the file basename is required because all selinux_fc properties are