core: Use pvmfw_embedded_key for INTERNAL_PVMFW_EMBEDDED_AVBKEY
Instead of wrongly using the key that was used to sign pvmfw, we should
have been using the key that pvmfw will use to verify payloads it
receives so fix that.
Bug: 255575669
Test: -
Change-Id: I68a87a092c1aa4a60f4fbe60c5ddf82c4e34c38a
diff --git a/core/Makefile b/core/Makefile
index e0b1287..d111d5f 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -3933,7 +3933,7 @@
INSTALLED_PVMFWIMAGE_TARGET := $(PRODUCT_OUT)/pvmfw.img
INSTALLED_PVMFW_EMBEDDED_AVBKEY_TARGET := $(PRODUCT_OUT)/pvmfw_embedded.avbpubkey
INTERNAL_PVMFWIMAGE_FILES := $(call module-target-built-files,pvmfw_img)
-INTERNAL_PVMFW_EMBEDDED_AVBKEY := $(call module-target-built-files,pvmfw_sign_key)
+INTERNAL_PVMFW_EMBEDDED_AVBKEY := $(call module-target-built-files,pvmfw_embedded_key)
$(call declare-1p-container,$(INSTALLED_PVMFWIMAGE_TARGET),)
$(call declare-container-license-deps,$(INSTALLED_PVMFWIMAGE_TARGET),$(INTERNAL_PVMFWIMAGE_FILES),$(PRODUCT_OUT)/:/)