sm6225-common: Build vbmeta_system

- A chained vbmeta image for system partitions (system, system_ext and product) as described in [0].

Reference:
[0] - https://android.googlesource.com/platform/external/avb/+/master/README.md#build-system-integration

Change-Id: I4d0baf93cf1aec884f231896973e137aabb25460
This commit is contained in:
Dhina17 2022-12-31 22:09:52 +05:30
parent afe3da1eba
commit 6041a7c497
2 changed files with 6 additions and 0 deletions

View file

@ -77,3 +77,8 @@ TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
# Verified Boot
BOARD_AVB_ENABLE := true
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3
BOARD_AVB_VBMETA_SYSTEM := system system_ext product
BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := SHA256_RSA2048
BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX_LOCATION := 1

View file

@ -16,6 +16,7 @@ AB_OTA_PARTITIONS += \
system \
system_ext \
vbmeta \
vbmeta_system \
vendor \
vendor_boot