Skip to content

Commit

Permalink
FP5: Update AVB setup
Browse files Browse the repository at this point in the history
Change-Id: I04c81efa608d3de62cc8dc8a7c527584e999707a
  • Loading branch information
mikeNG committed Feb 27, 2024
1 parent e005e31 commit 265176f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,10 @@ BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor

# Verified Boot
BOARD_AVB_ENABLE := true
ifneq (,$(wildcard $(KEYS_DIR)/avb_murena_rsa4096.pem))
BOARD_AVB_ALGORITHM := SHA256_RSA4096
BOARD_AVB_KEY_PATH := $(KEYS_DIR)/avb_murena_rsa4096.pem
endif
BOARD_AVB_VBMETA_SYSTEM := system system_ext product
BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := SHA256_RSA4096
ifneq (,$(wildcard $(KEYS_DIR)/avb_murena_rsa4096.pem))
BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := $(KEYS_DIR)/avb_murena_rsa4096.pem
else
BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
endif
BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX_LOCATION := 2

Expand Down

0 comments on commit 265176f

Please sign in to comment.