From 32512e716750b94c9e72c50a98a5db724857f1d5 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Wed, 3 Jun 2015 13:05:28 -0700 Subject: [PATCH] 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 17fff893c04971b519d25d52b07f51111353cba5 which made the SELinux process label optional. (cherrypicked from commit 221fca7ddd2ba1778ec89013c96434a9d36b529e) Change-Id: I89464f2bd218c7d6e8db08aa6bed2b62ec6dad2a --- rootdir/init.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index d0768b2a6..b5ee98b59 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -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..rc file, you # must uncomment this line, otherwise encrypted filesystems