tzdatacheck: don't hard code SELinux domain name
An automatic domain transition is already defined by SELinux policy. Avoid having redundant information on the exec line. This commit depends on commit17fff893c0which made the SELinux process label optional. (cherrypicked from commit221fca7ddd) Change-Id: I89464f2bd218c7d6e8db08aa6bed2b62ec6dad2a
This commit is contained in:
parent
21bd040eff
commit
32512e7167
1 changed files with 1 additions and 1 deletions
|
|
@ -328,7 +328,7 @@ on post-fs-data
|
|||
restorecon_recursive /data
|
||||
|
||||
# Check any timezone data in /data is newer than the copy in /system, delete if not.
|
||||
exec u:r:tzdatacheck:s0 system system -- /system/bin/tzdatacheck /system/usr/share/zoneinfo /data/misc/zoneinfo
|
||||
exec - system system -- /system/bin/tzdatacheck /system/usr/share/zoneinfo /data/misc/zoneinfo
|
||||
|
||||
# If there is no fs-post-data action in the init.<device>.rc file, you
|
||||
# must uncomment this line, otherwise encrypted filesystems
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue