08913228e1
tzdatacheck is exec'd from init.rc early in boot just after /data is mounted. It checks to make sure that the tz rule data in /data is newer than the version in /system. If the data is older it is deleted. This is to address problems with earlier tz rule updates that occurred: after an OTA upgrade previous updates in /data would override newer versions in the system partition. Includes change to init.rc neccessary to run it at boot time. Other changes are in external/selinux. Bug: 19941636 Bug: https://code.google.com/p/android/issues/detail?id=35730 Change-Id: I7cc61e058424c856da88f11ff9b259f34cb39dc7
21 lines
564 B
Makefile
21 lines
564 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
# ========================================================
|
|
# Executable
|
|
# ========================================================
|
|
include $(CLEAR_VARS)
|
|
LOCAL_SRC_FILES:= tzdatacheck.cpp
|
|
LOCAL_MODULE := tzdatacheck
|
|
LOCAL_SHARED_LIBRARIES := libbase libcutils liblog
|
|
LOCAL_CFLAGS := -Werror
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_SRC_FILES:= tzdatacheck.cpp
|
|
LOCAL_MODULE := tzdatacheck
|
|
LOCAL_SHARED_LIBRARIES := libbase libcutils liblog
|
|
LOCAL_CFLAGS := -Werror
|
|
include $(BUILD_HOST_EXECUTABLE)
|
|
|