OSDN Git Service

AI 144143: Define OTA_PUBLIC_KEYS to be the test keys in the otapackage
authorDoug Zongker <>
Thu, 2 Apr 2009 08:15:57 +0000 (01:15 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Thu, 2 Apr 2009 08:15:57 +0000 (01:15 -0700)
  target as well.

Automated import of CL 144143

core/Makefile

index c840ca8..cd96630 100644 (file)
@@ -775,6 +775,11 @@ endif
 .PHONY: otapackage
 otapackage: $(INTERNAL_OTA_PACKAGE_TARGET)
 
+# Keys authorized to sign OTA packages this build will accept.  The
+# build always uses test-keys for this; release packaging tools will
+# substitute other keys for this one.
+OTA_PUBLIC_KEYS := $(SRC_TARGET_DIR)/product/security/testkey.x509.pem
+
 # Build a keystore with the authorized keys in it.
 # java/android/android/server/checkin/UpdateVerifier.java uses this.
 ALL_DEFAULT_INSTALLED_MODULES += $(TARGET_OUT_ETC)/security/otacerts.zip