From: Nolen Johnson Date: Mon, 13 Nov 2023 04:12:02 +0000 (-0500) Subject: g12-common: Copy ramdisk to first_stage_ramdisk as well X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fa91916f9f5b6cb6dfd1cda76fb3897a30e05358;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12-common: Copy ramdisk to first_stage_ramdisk as well * Fixes up 1acf46eebcc8452303c55d9c344e254edcf5542e which dropped this. Change-Id: I365f7af37b5c9830e95650eeeb55027e70162c22 --- diff --git a/init-files/Android.mk b/init-files/Android.mk index 292a812..92c866a 100644 --- a/init-files/Android.mk +++ b/init-files/Android.mk @@ -9,7 +9,7 @@ LOCAL_SRC_FILES := fstab.amlogic else LOCAL_SRC_FILES := fstab_no_avb.amlogic endif -LOCAL_REQUIRED_MODULES := fstab.amlogic_ramdisk +LOCAL_REQUIRED_MODULES := fstab.amlogic_ramdisk fstab.amlogic_first_stage_ramdisk LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC) include $(BUILD_PREBUILT) @@ -25,3 +25,16 @@ LOCAL_SRC_FILES := fstab_no_avb.amlogic endif LOCAL_MODULE_PATH := $(TARGET_RAMDISK_OUT) include $(BUILD_PREBUILT) + +include $(CLEAR_VARS) +LOCAL_MODULE := fstab.amlogic_first_stage_ramdisk +LOCAL_MODULE_STEM := fstab.amlogic +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_CLASS := ETC +ifneq ($(TARGET_HAS_TEE),false) +LOCAL_SRC_FILES := fstab.amlogic +else +LOCAL_SRC_FILES := fstab_no_avb.amlogic +endif +LOCAL_MODULE_PATH := $(TARGET_RAMDISK_OUT)/first_stage_ramdisk +include $(BUILD_PREBUILT)