init: Delay trusty app loading until storage is ready
Wait for storageproxy to set the fs_ready property before trying to load a trusty app. Trusty app loading requires storage and may behave badly if storage is rebooted while loading the app. Test: m Bug: 258018785 Change-Id: Ib64167985c4d5aadf0dd5184c9741e133489f654
This commit is contained in:
parent
6b89898295
commit
0ca6773d8f
1 changed files with 2 additions and 2 deletions
|
@ -82,13 +82,13 @@ on post-fs-data
|
|||
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/irq
|
||||
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/wakeup_enable
|
||||
|
||||
on fs
|
||||
on property:ro.vendor.trusty.storage.fs_ready=1
|
||||
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/1540.app
|
||||
# Permissions for hwcomposer
|
||||
chown system system /sys/class/backlight/panel0-backlight/cabc_mode
|
||||
|
||||
# Castauth
|
||||
on post-fs-data
|
||||
on property:ro.vendor.trusty.storage.fs_ready=1
|
||||
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/cast_auth.app
|
||||
|
||||
# Wifi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue