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

Commit e5970331 authored by Neil Fuller's avatar Neil Fuller Committed by Gerrit Code Review
Browse files

Merge "Switch tzdatacheck to comparing tzdata module file"

parents caa95d55 09bdb325
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -602,8 +602,9 @@ on post-fs-data
    # Set SELinux security contexts on upgrade or policy update.
    # Set SELinux security contexts on upgrade or policy update.
    restorecon --recursive --skip-ce /data
    restorecon --recursive --skip-ce /data


    # Check any timezone data in /data is newer than the copy in the runtime module, delete if not.
    # Check any timezone data in /data is newer than the copy in the time zone data
    exec - system system -- /system/bin/tzdatacheck /apex/com.android.runtime/etc/tz /data/misc/zoneinfo
    # module, delete if not.
    exec - system system -- /system/bin/tzdatacheck /apex/com.android.tzdata/etc/tz /data/misc/zoneinfo


    # If there is no post-fs-data action in the init.<device>.rc file, you
    # If there is no post-fs-data action in the init.<device>.rc file, you
    # must uncomment this line, otherwise encrypted filesystems
    # must uncomment this line, otherwise encrypted filesystems