diff options
author | padarshr <padarshr@codeaurora.org> | 2017-06-28 15:31:43 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-06-28 04:04:07 -0700 |
commit | 2cad5bc89bb8f1df5a514f47a20ac63cc7bfd86d (patch) | |
tree | 76dce9a431ff2a6605a10de4302f8c5a2c95283c /init.target.rc | |
parent | d28595c12b1e65a51fddf1e52ff404ad721689ce (diff) |
Create bootdevice symlink just before mounting from fstab.
Create /dev/block/bootdevice symlink that points to the actual
target specific boot device dev path(emmc/ufs), based on the
property ro.boot.bootdevice. This is created in init.target.rc
just before partitions are mounted from fstab file (fstab refers
to all the partitions through the symlink path).
Change-Id: I6f0082a22c4ddcd84c3a1f57a97c7a32a45187a9
Diffstat (limited to 'init.target.rc')
-rwxr-xr-x | init.target.rc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.target.rc b/init.target.rc index 1df32a7..2e1dd3b 100755 --- a/init.target.rc +++ b/init.target.rc @@ -39,7 +39,8 @@ on init write /dev/stune/top-app/schedtune.colocate 1 on fs - wait /dev/block/bootdevice + wait /dev/block/platform/soc/${ro.boot.bootdevice} + symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice mount_all /vendor/etc/fstab.qcom swapon_all /vendor/etc/fstab.qcom |