summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornailyk-fr <nailyk_git@nailyk.fr>2017-02-03 23:10:57 +0100
committernailyk-fr <nailyk_git@nailyk.fr>2017-02-21 19:58:08 +0100
commit58b5989453e8ba135f997672d2d36c4a916e15ed (patch)
tree3a82609023102068c61c2807b8748fbaff598159
parentbbe9204cbd3c485d9df8044435f174b3c1ba79a9 (diff)
shinano-common: init: Change mount paths
* Add bootdevice symlink for compatibility * Clean idd mounting * Remove uneeded /rca symlink Change-Id: I4e00fb1c5d5e5d084b4c74ad72e8b2bc4a1900b2
-rw-r--r--rootdir/init.qcom.rc17
1 files changed, 9 insertions, 8 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 8c59635..466259b 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -24,6 +24,8 @@ on early-init
chown system system /sys/kernel/debug/kgsl/proc
on init
+ symlink /dev/block/platform/msm_sdcc.1 /dev/block/bootdevice
+
# Enable subsystem restart
write /sys/module/subsystem_restart/parameters/enable_ramdumps 0
write /sys/bus/msm_subsys/devices/subsys0/restart_level "RELATED"
@@ -79,15 +81,14 @@ on fs
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/LTALabel /lta-label nosuid nodev noatime noexec ro barrier=0
chown system system /lta-label
chmod 0555 /lta-label
-
- chown idd idd /idd
- chmod 0751 /iddA
- exec /system/bin/rm -r /idd/lost+found
+
+ # mount apps_log
+ #wait /dev/block/platform/msm_sdcc.1/by-name/apps_log
+ #mount ext4 /dev/block/platform/msm_sdcc.1/by-name/apps_log /idd nosuid nodev noatime noexec barrier=0 discard
+ chown idd idd /idd
+ chmod 0751 /idd
+ #exec /system/bin/rm -r /idd/lost+found
symlink /idd /mnt/idd
- chown idd idd /rca
- chmod 0750 /rca
- exec /system/bin/rm -r /rca/lost+found
- symlink /rca /mnt/rca
on early-boot
# set RLIMIT_MEMLOCK to 64MB