Merge "Switch tzdatacheck to comparing tzdata module file"

am: e59703319f

Change-Id: I7cec6c1225b03f6a047c5d9c8fac774490f1754e
This commit is contained in:
Neil Fuller 2019-06-10 10:57:14 -07:00 committed by android-build-merger
commit 91f35c08cd
1 changed files with 3 additions and 2 deletions

View File

@ -602,8 +602,9 @@ on post-fs-data
# Set SELinux security contexts on upgrade or policy update.
restorecon --recursive --skip-ce /data
# Check any timezone data in /data is newer than the copy in the runtime module, delete if not.
exec - system system -- /system/bin/tzdatacheck /apex/com.android.runtime/etc/tz /data/misc/zoneinfo
# Check any timezone data in /data is newer than the copy in the time zone data
# 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
# must uncomment this line, otherwise encrypted filesystems