Move GSI AVB keys to vendor_boot if BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT

If BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT is set, move GSI AVB keys
to vendor_boot. The existence of these keys are device-specific, and
should not exist in the generic boot image.

Test: manual
Bug: 156098440
Change-Id: Iabe002a9f1ecd2fdf109beed98db6edd3f092399
This commit is contained in:
Yifan Hong 2020-10-12 12:48:25 -07:00
parent d65e4851e2
commit 762d936911

View file

@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir)
ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true)
my_gsi_avb_keys_path := $(TARGET_RECOVERY_ROOT_OUT)/first_stage_ramdisk/avb
else ifeq ($(BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT),true)
my_gsi_avb_keys_path := $(TARGET_VENDOR_RAMDISK_OUT)/avb
else
my_gsi_avb_keys_path := $(TARGET_RAMDISK_OUT)/avb
endif