From db19829ee0dbbc8520756cfb7b5dc3e8ce4eab08 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Thu, 10 Dec 2020 12:14:58 -0800 Subject: [PATCH] Pong: Enforce generic ramdisk allow list This change enforces that only the list of files on the generic ramdisk can be installed to the ramdisk of this device. This is required for all devices using generic ramdisk. Test: m nothing Bug: 173742069 Change-Id: Icff7f30b5aef9fdc59b3060316576f1f50b2a92c --- device.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device.mk b/device.mk index 8c2507b..6372526 100644 --- a/device.mk +++ b/device.mk @@ -43,6 +43,9 @@ PRODUCT_PACKAGES += \ # Dalvik $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) +# Generic ramdisk +$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk) + # Init PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/init/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom