Merge "GSI vbmeta.img: set rollback_index to zero" am: 93030e3f4d

am: 8ef0dae2c6

Change-Id: Iaf0481f4a90a859027bc9b753176cec3840f209e
This commit is contained in:
Bowgo Tsai 2019-02-19 17:42:06 -08:00 committed by android-build-merger
commit 12d9c24978

View file

@ -34,11 +34,14 @@ BOARD_USES_METADATA_PARTITION := true
# Android Verified Boot (AVB): # Android Verified Boot (AVB):
# Set AVB_VBMETA_IMAGE_FLAGS_VERIFICATION_DISABLED (--flags 2) in # Set AVB_VBMETA_IMAGE_FLAGS_VERIFICATION_DISABLED (--flags 2) in
# vbmeta.img to disable AVB verification. # vbmeta.img to disable AVB verification. Also set the rollback index
# to zero, to prevent the device bootloader from updating the last seen
# rollback index in the tamper-evident storage.
# #
# To disable AVB for GSI, use the vbmeta.img and the GSI together. # To disable AVB for GSI, use the vbmeta.img and the GSI together.
# To enable AVB for GSI, include the GSI public key into the device-specific # To enable AVB for GSI, include the GSI public key into the device-specific
# vbmeta.img. # vbmeta.img.
BOARD_AVB_ROLLBACK_INDEX := 0
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 2 BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 2
# Enable chain partition for system. # Enable chain partition for system.