Skip to content

Commit

Permalink
healthd: change how charger is launched in recovery.
Browse files Browse the repository at this point in the history
This is triggered by changes in healthd which spits out 2 binaries.
Recovery needs to use static binary which is now renamed to 'charger'.
So, change the .rc file to match the rename.

Update the seclable according to new healthd-charger split

Test: Tested recovery on angler using 'reboot recovery' to ensure
healthd is working as before

Change-Id: I9e6018156e677e7224dd2e5894941ed2a7cac1d0
Signed-off-by: Sandeep Patil <[email protected]>
  • Loading branch information
patils committed Nov 1, 2016
1 parent 1d73336 commit c4b381c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ service ueventd /sbin/ueventd
critical
seclabel u:r:ueventd:s0

service healthd /sbin/healthd -r
service charger /charger -r
critical
seclabel u:r:healthd:s0
seclabel u:r:charger:s0

service recovery /sbin/recovery
seclabel u:r:recovery:s0
Expand Down

0 comments on commit c4b381c

Please sign in to comment.