g12: Also put fstab to first_stage_ramdisk
authorChristian Hoffmann <chrmhoffmann@gmail.com>
Mon, 10 Apr 2023 08:18:19 +0000 (10:18 +0200)
committerChristian Hoffmann <chrmhoffmann@gmail.com>
Mon, 10 Apr 2023 08:59:25 +0000 (10:59 +0200)
* New wade 12 bootloader switches root due to androidboot.force_normal_boot=1
* so just copy to both locations to support both bootloaders
* and also make "fastboot boot" happy (which doesn't set androidboot.force_normal_boot=1)

Change-Id: I1cc99db9403ea5c1d1709427a6eed2cd09933617

g12.mk

diff --git a/g12.mk b/g12.mk
index 7658f98284dbefdc24ec226508bf549b12ebaa58..ee51a24262d401a575bb4379bb0d8a018516629a 100644 (file)
--- a/g12.mk
+++ b/g12.mk
@@ -83,6 +83,7 @@ PRODUCT_PACKAGES += \
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/init-files/fstab.amlogic:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.amlogic \
     $(LOCAL_PATH)/init-files/fstab.amlogic:$(TARGET_COPY_OUT_RAMDISK)/fstab.amlogic \
+    $(LOCAL_PATH)/init-files/fstab.amlogic:$(TARGET_COPY_OUT_RAMDISK)/first_stage_ramdisk/fstab.amlogic \
     $(LOCAL_PATH)/init-files/init.amlogic.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.rc \
     $(LOCAL_PATH)/init-files/init.amlogic.board.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.board.rc \
     $(LOCAL_PATH)/init-files/init.amlogic.media.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.media.rc \