diff --git a/core/sysprop.mk b/core/sysprop.mk index e7a140a84c..19173985ef 100644 --- a/core/sysprop.mk +++ b/core/sysprop.mk @@ -174,6 +174,8 @@ endif # when the target-files is signed in a post-build step. ifeq ($(DEFAULT_SYSTEM_DEV_CERTIFICATE),build/make/target/product/security/testkey) BUILD_KEYS := test-keys +else ifneq ($(filter vendor/lineage-priv/%,$(DEFAULT_SYSTEM_DEV_CERTIFICATE)),) +BUILD_KEYS := release-keys else BUILD_KEYS := dev-keys endif