Add modules partition.

Modules partition is a dynamic read-write partition.
- AVB is not enabled on the partition
- OTA is file-based; see follow up CL for details
- No build prop files; in particular, no build fingerprint
- No fs_config
- No notice files; notice files are included in individual APEXes

Test: build on CF
Bug: 163543381

Change-Id: Ie397b9ec61dfd1c158450d050196024604854d4d
This commit is contained in:
Yifan Hong
2020-08-10 16:48:52 -07:00
parent 897cfaee46
commit c0f187f5f9
10 changed files with 225 additions and 5 deletions

View File

@@ -46,7 +46,10 @@ DIR_SEARCH_PATHS = {
'/product': ('PRODUCT', 'SYSTEM/product'),
'/odm': ('ODM', 'VENDOR/odm', 'SYSTEM/vendor/odm'),
'/system_ext': ('SYSTEM_EXT', 'SYSTEM/system_ext'),
# vendor_dlkm and odm_dlkm does not have VINTF files.
# The following do not have VINTF files:
# - vendor_dlkm
# - odm_dlkm
# - modules
}
UNZIP_PATTERN = ['META/*', '*/build.prop']