build_image.py recognize BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE
Test: builds Bug: 79106666 Change-Id: I26aba694fd3d6a2feed7601524dde52569ba41e2
This commit is contained in:
@@ -875,6 +875,7 @@ def ImagePropFromGlobalDict(glob_dict, mount_point):
|
||||
copy_prop("product_extfs_inode_count", "extfs_inode_count")
|
||||
if not copy_prop("product_extfs_rsv_pct", "extfs_rsv_pct"):
|
||||
d["extfs_rsv_pct"] = "0"
|
||||
copy_prop("product_reserved_size", "partition_reserved_size")
|
||||
elif mount_point == "product-services":
|
||||
copy_prop("avb_productservices_hashtree_enable", "avb_hashtree_enable")
|
||||
copy_prop("avb_productservices_add_hashtree_footer_args",
|
||||
@@ -935,6 +936,8 @@ def GlobalDictFromImageProp(image_prop, mount_point):
|
||||
copy_prop("partition_size", "system_size")
|
||||
elif mount_point == "vendor":
|
||||
copy_prop("partition_size", "vendor_size")
|
||||
elif mount_point == "product":
|
||||
copy_prop("partition_size", "product_size")
|
||||
return d
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user