sm6150-common: Disable verity and descriptor checking

* avbtool provides an option to disable hashtree checking

Change-Id: Ib57d8ebed69a0998005563a9268f9fc736cbeaf7
This commit is contained in:
Ethan Chen 2019-02-03 15:12:39 -08:00 committed by Arian
parent e7ad18c552
commit 25f48a91cd
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -150,6 +150,7 @@ BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
# Verified Boot
BOARD_AVB_ENABLE := true
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 2
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --set_hashtree_disabled_flag
BOARD_AVB_RECOVERY_ALGORITHM := SHA256_RSA4096
BOARD_AVB_RECOVERY_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
BOARD_AVB_RECOVERY_ROLLBACK_INDEX := 1