Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32512e71 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

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

(cherrypicked from commit 221fca7d)

Change-Id: I89464f2bd218c7d6e8db08aa6bed2b62ec6dad2a
parent 21bd040e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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