Skip to content

Commit 42cbdeb

Browse files
committed
Use dev keys as release keys
1 parent 19a966e commit 42cbdeb

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From 909a37c27fd5b06806e06c16aa3c713dff5b0303 Mon Sep 17 00:00:00 2001
2+
From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= <[email protected]>
3+
Date: Mon, 1 May 2023 14:56:12 +0200
4+
Subject: [PATCH 1/1] Use dev keys as release keys. Simplifies signing process
5+
without compromising on security
6+
7+
Change-Id: Ie8afd2b5dc19623f6c1f551acc88f4afc74fc698
8+
---
9+
core/sysprop.mk | 2 +-
10+
1 file changed, 1 insertion(+), 1 deletion(-)
11+
12+
diff --git a/core/sysprop.mk b/core/sysprop.mk
13+
index 570702a679..556c83e425 100644
14+
--- a/core/sysprop.mk
15+
+++ b/core/sysprop.mk
16+
@@ -159,7 +159,7 @@ endif
17+
ifeq ($(DEFAULT_SYSTEM_DEV_CERTIFICATE),build/make/target/product/security/testkey)
18+
BUILD_KEYS := test-keys
19+
else
20+
-BUILD_KEYS := dev-keys
21+
+BUILD_KEYS := release-keys
22+
endif
23+
BUILD_VERSION_TAGS += $(BUILD_KEYS)
24+
BUILD_VERSION_TAGS := $(subst $(space),$(comma),$(sort $(BUILD_VERSION_TAGS)))
25+
--
26+
2.34.1
27+

0 commit comments

Comments
 (0)