Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4e205fb authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Usee sha256 to build the hashtree in GSI image" am: f1d88330 am:...

Merge "Usee sha256 to build the hashtree in GSI image" am: f1d88330 am: 1fa3d79a am: c4ad3b6d am: 4be97eae

Original change: https://android-review.googlesource.com/c/platform/build/+/1696885

Change-Id: I6b9bb6ef0eed19cb291494fae3bb5dcc84859965
parents 879a3987 4be97eae
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -41,6 +41,10 @@ BOARD_AVB_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
BOARD_AVB_SYSTEM_ALGORITHM := SHA256_RSA2048
BOARD_AVB_SYSTEM_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
BOARD_AVB_SYSTEM_ROLLBACK_INDEX_LOCATION := 1

# Using sha256 for dm-verity partitions. b/156162446
BOARD_AVB_SYSTEM_ADD_HASHTREE_FOOTER_ARGS += --hash_algorithm sha256

ifdef BUILDING_GSI
# super.img spec for GSI targets
BOARD_SUPER_PARTITION_SIZE := 3229614080