summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2018-10-06 11:39:39 +0800
committerTingyiChen <tingyi364@gmail.com>2019-08-13 11:52:47 +0200
commitce98e574a7ef38bcd2ffa15f91e6542cd5b437ae (patch)
treed680ddf1c54a9fdaf91d4fbbbf4ee927a1674340
parent6c82d973edda7c20127d0179f8845d5039e051a9 (diff)
wayne-common: Update symlinks for new mount points
* Fix wrong SLPI ramdumps symlink and remove old BT firmware symlinks while at it Change-Id: I8fba4ea0a1af923f427b1ebb00ad86d6bbd81577
-rw-r--r--Android.mk25
1 files changed, 13 insertions, 12 deletions
diff --git a/Android.mk b/Android.mk
index ae5df53..815160c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -97,10 +97,10 @@ $(RFS_MSM_ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@rm -rf $@/*
@mkdir -p $(dir $@)/readonly/vendor
$(hide) ln -sf /data/vendor/tombstones/rfs/lpass $@/ramdumps
- $(hide) ln -sf /persist/rfs/msm/adsp $@/readwrite
- $(hide) ln -sf /persist/rfs/shared $@/shared
- $(hide) ln -sf /persist/hlos_rfs/shared $@/hlos
- $(hide) ln -sf /firmware $@/readonly/firmware
+ $(hide) ln -sf /mnt/vendor/persist/rfs/msm/adsp $@/readwrite
+ $(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
+ $(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
+ $(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
RFS_MSM_MPSS_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/mpss/
@@ -109,10 +109,10 @@ $(RFS_MSM_MPSS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@rm -rf $@/*
@mkdir -p $(dir $@)/readonly/vendor
$(hide) ln -sf /data/vendor/tombstones/rfs/modem $@/ramdumps
- $(hide) ln -sf /persist/rfs/msm/mpss $@/readwrite
- $(hide) ln -sf /persist/rfs/shared $@/shared
- $(hide) ln -sf /persist/hlos_rfs/shared $@/hlos
- $(hide) ln -sf /firmware $@/readonly/firmware
+ $(hide) ln -sf /mnt/vendor/persist/rfs/msm/mpss $@/readwrite
+ $(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
+ $(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
+ $(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
$(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
RFS_MSM_SLPI_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/slpi/
@@ -121,10 +121,11 @@ $(RFS_MSM_SLPI_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@rm -rf $@/*
@mkdir -p $(dir $@)/readonly/vendor
$(hide) ln -sf /data/vendor/tombstones/rfs/slpi $@/ramdumps
- $(hide) ln -sf /persist/rfs/msm/slpi $@/readwrite
- $(hide) ln -sf /persist/rfs/shared $@/shared
- $(hide) ln -sf /persist/hlos_rfs/shared $@/hlos
- $(hide) ln -sf /firmware $@/readonly/firmware
+ $(hide) ln -sf /mnt/vendor/persist/rfs/msm/slpi $@/readwrite
+ $(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared
+ $(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos
+ $(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware
+ $(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware
ALL_DEFAULT_INSTALLED_MODULES += \
$(RFS_MSM_ADSP_SYMLINKS) \