From 094f6917e1ed05dded2116abe8b72e48946d3ea8 Mon Sep 17 00:00:00 2001 From: Woody Lin Date: Fri, 26 Feb 2016 03:22:25 +0800 Subject: [PATCH] msm8976-common: rootdir: Symlink platform/soc/${ro.boot.bootdevice} to bootdevice Make symbolic link from /dev/block/platform/soc/${ro.boot.bootdevice} to /dev/block/bootdevice. Change-Id: I7b7f4c728656103445e7fb68ccca92402fa36ff5 --- rootdir/etc/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index e83bd39..b225faa 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -57,6 +57,9 @@ on early-boot write /sys/bus/msm_subsys/devices/subsys4/restart_level "related" on fs + wait /dev/block/platform/soc.0/${ro.boot.bootdevice} + symlink /dev/block/platform/soc.0/${ro.boot.bootdevice} /dev/block/bootdevice + wait /dev/block/bootdevice mount_all fstab.qcom write /proc/sys/vm/swappiness 100