Support PRODUCT_BUILD_VBMETA_IMAGE for target files
Currently we support skip building vbmeta.img when PRODUCT_BUILD_VBMETA_IMAGE is set to false, which is used when generating a system-only or vendor-only build artifacts. However, when using `make dist` to build target files, vbmeta.img is still generated. This change fixes this by passing the related info to misc_info.txt for the release tool to skip building vbmeta.img when necessary. To make this happen, a device config should: 1. Set PRODUCT_BUILD_VBMETA_IMAGE := false 2. Remove 'vbmeta' from AB_OTA_PARTITIONS: AB_OTA_PARTITIONS += \ boot \ system \ - vbmeta \ dtbo \ product \ system_ext \ vbmeta_system Bug: 161659370 Test: `make dist` and checks the target file does not include vbmeta.img Change-Id: Iddca9fe0b171a50a80e5a88aa462e118f18a7e6f
Loading
Please register or sign in to comment