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
diff --git a/tools/releasetools/sign_target_files_apks.py b/tools/releasetools/sign_target_files_apks.py
index 05a085b..117c7de 100755
--- a/tools/releasetools/sign_target_files_apks.py
+++ b/tools/releasetools/sign_target_files_apks.py
@@ -180,11 +180,16 @@
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',