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

Commit 697c6eec authored by Tianjie's avatar Tianjie
Browse files

Add missing R partitions in AVB_FOOTER_ARGS

If we miss these entries, the signing script won't correctly update
the avb prop to build the vbmeta. This cl adds the missing partitions
for R build.

In the followup, we need to make the map in sync with AVB_PARTITIONS in
common.py

Bug: 181787095
Test: run sign_target_files_apks
Change-Id: I39a308fb7028b45ce08f0ca3c6ad61a6c13e8082
parent 0181c7d3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -180,11 +180,16 @@ OPTIONS.android_jar_path = None
AVB_FOOTER_ARGS_BY_PARTITION = {
    'boot' : 'avb_boot_add_hash_footer_args',
    'dtbo' : 'avb_dtbo_add_hash_footer_args',
    'product' : 'avb_product_add_hashtree_footer_args',
    'recovery' : 'avb_recovery_add_hash_footer_args',
    'system' : 'avb_system_add_hashtree_footer_args',
    'system_ext' : 'avb_system_ext_add_hashtree_footer_args',
    'system_other' : 'avb_system_other_add_hashtree_footer_args',
    'odm' : 'avb_odm_add_hashtree_footer_args',
    'odm_dlkm' : 'avb_odm_dlkm_add_hashtree_footer_args',
    'vendor' : 'avb_vendor_add_hashtree_footer_args',
    'vendor_boot' : 'avb_vendor_boot_add_hash_footer_args',
    'vendor_dlkm' : "avb_vendor_dlkm_add_hashtree_footer_args",
    'vbmeta' : 'avb_vbmeta_args',
    'vbmeta_system' : 'avb_vbmeta_system_args',
    'vbmeta_vendor' : 'avb_vbmeta_vendor_args',