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 commit 17fff893c0
which made the SELinux process label optional.

(cherrypicked from commit 221fca7ddd)

Change-Id: I89464f2bd218c7d6e8db08aa6bed2b62ec6dad2a
This commit is contained in:
Nick Kralevich 2015-06-03 13:05:28 -07:00
parent 21bd040eff
commit 32512e7167

View file

@ -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