sanders: 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>
This commit is contained in:
@@ -48,12 +48,20 @@ on fs
|
|||||||
mount_all /vendor/etc/fstab.qcom --early
|
mount_all /vendor/etc/fstab.qcom --early
|
||||||
write /proc/sys/vm/swappiness 100
|
write /proc/sys/vm/swappiness 100
|
||||||
|
|
||||||
|
# Start HW service manager early
|
||||||
|
start hwservicemanager
|
||||||
|
|
||||||
on late-fs
|
on late-fs
|
||||||
# Start services for bootanim
|
# Start services for bootanim
|
||||||
start hwservicemanager
|
|
||||||
start servicemanager
|
start servicemanager
|
||||||
start surfaceflinger
|
start surfaceflinger
|
||||||
start bootanim
|
start bootanim
|
||||||
|
|
||||||
|
# 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 RW partitions which need run fsck
|
||||||
mount_all /vendor/etc/fstab.qcom --late
|
mount_all /vendor/etc/fstab.qcom --late
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user