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
This commit is contained in:
Yifan Hong
2020-12-10 12:14:58 -08:00
committed by chandu078
parent 7708abdfc0
commit db19829ee0

View File

@@ -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