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
This commit is contained in:
parent
d28595c12b
commit
2cad5bc89b
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ on init
|
||||||
write /dev/stune/top-app/schedtune.colocate 1
|
write /dev/stune/top-app/schedtune.colocate 1
|
||||||
|
|
||||||
on fs
|
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
|
mount_all /vendor/etc/fstab.qcom
|
||||||
swapon_all /vendor/etc/fstab.qcom
|
swapon_all /vendor/etc/fstab.qcom
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue