aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2019-12-10 13:05:25 +0800
committerBowgo Tsai <bowgotsai@google.com>2019-12-16 14:49:42 +0800
commit851f144d90cfd696bdf23fd0f2d542b026084551 (patch)
tree93ad6620434a43c5983f0e9b7cb703b27e6e1ab9
parente5ab595059b9d6618950fc2a4f945011bd24eadc (diff)
downloadbuild-851f144d90cfd696bdf23fd0f2d542b026084551.tar.gz
Adding developer_gsi_keys.mk
OEMs who are willing to support booting the public Developer-GSI in locked state can add the following line into a device.mk to include the corresponding public keys into their first-stage ramdisk. $(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk) Bug: 144399552 Test: make checks $OUT/ramdisk/avb/. Change-Id: I8fdefa0fb26c2d385dda1f72503d12e6fc306694 Merged-In: I8fdefa0fb26c2d385dda1f72503d12e6fc306694 (cherry picked from commit 01c6f6f215cc27e153744a2b69c0e90e3c338b7d)
-rw-r--r--target/product/developer_gsi_keys.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/product/developer_gsi_keys.mk b/target/product/developer_gsi_keys.mk
new file mode 100644
index 0000000000..79451ad912
--- /dev/null
+++ b/target/product/developer_gsi_keys.mk
@@ -0,0 +1,29 @@
+#
+# Copyright (C) 2019 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Device makers who are willing to support booting the public Developer-GSI
+# in locked state can add the following line into a device.mk to inherit this
+# makefile. This file will then install the up-to-date GSI public keys into
+# the first-stage ramdisk to pass verified boot.
+#
+# In device/<company>/<board>/device.mk:
+# $(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
+#
+# Currently, the developer GSI images can be downloaded from the following URL:
+# https://developer.android.com/topic/generic-system-image/releases
+#
+PRODUCT_PACKAGES += \
+ q-developer-gsi.avbpubkey \