zenfone9: 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
diff --git a/device.mk b/device.mk
index 01e2be9..5da601b 100755
--- a/device.mk
+++ b/device.mk
@@ -266,6 +266,8 @@
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
# Ramdisk
+$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
+
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/ramdisk/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom \
$(LOCAL_PATH)/ramdisk/fstab.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom