aboutsummaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2018-06-18 23:26:02 -0400
committerDavide Garberi <dade.garberi@gmail.com>2018-09-26 15:22:06 +0200
commit2997894a2820babca65301cde414172684a1e0a1 (patch)
tree1813a1cc97d685168e0aa49c49b7680ce63ba25d /rootdir
parent774570632607a3af41cd34bf69258c28b9b3d049 (diff)
msm8996-common: Make sure graphics HAL services started before mounting data
Bug: 36409349 Signed off by: Nolen Johnson <johnsonnolen@gmail.com> Change-Id: I1df0bd7878c7d67d3695ad1644c6b928cee0e323 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.qcom.rc12
1 files changed, 10 insertions, 2 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 134a11c..c9f47a3 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -56,13 +56,21 @@ on fs
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
mount_all /vendor/etc/fstab.qcom --early
+ # Start HW service manager early
+ start hwservicemanager
+
on late-fs
# Start services for bootanim
- start hwservicemanager
start servicemanager
start surfaceflinger
start bootanim
- # mount RW partitions which need run fsck
+
+ # Make sure HW service manager started and start required HAL services
+ wait_for_prop hwservicemanager.ready true
+ start configstore-hal-1-0
+ start gralloc-2-0
+
+ # Mount RW partitions which need run fsck
mount_all /vendor/etc/fstab.qcom --late
# boot time fs tune