From a0e177edba257d1da5fbe287c78d768ff363f844 Mon Sep 17 00:00:00 2001 From: Bowgo Tsai Date: Thu, 28 Mar 2019 23:02:02 +0800 Subject: [PATCH] Adding gsk_keys.mk Adds the following line into a device.mk in order to include GSI keys into the first-stage ramdisk. $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk) Bug: 112293933 Test: make checks $OUT/ramdisk/avb/. Change-Id: I8e4a9a8dd607916a3f45a07e0ba14c58def5d8d3 --- target/product/gsi_keys.mk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 target/product/gsi_keys.mk diff --git a/target/product/gsi_keys.mk b/target/product/gsi_keys.mk new file mode 100644 index 0000000000..5a814db108 --- /dev/null +++ b/target/product/gsi_keys.mk @@ -0,0 +1,22 @@ +# +# 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. +# + +# Include GSI keys into first-stage ramdisk, so we can enable verified +# boot when booting a GSI. +PRODUCT_PACKAGES += \ + q-gsi.avbpubkey \ + r-gsi.avbpubkey \ + s-gsi.avbpubkey \