Touch blocks in care_map in update_verifier
Read all blocks in system and vendor partition during boot time so that dm-verity could verify this partition is properly flashed. Bug: 27175949 Change-Id: I38ff7b18ee4f2733e639b89633d36f5ed551c989 Test: mma (cherry picked from commit03ca853a1c) (cherry picked from commit4bbe0c93c8) (Fix a typo when comparing the verity mode) (cherry picked from commitda654af606) (Skip update verification if care_map is not found)
This commit is contained in:
@@ -18,8 +18,15 @@ include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_CLANG := true
|
||||
LOCAL_SRC_FILES := update_verifier.cpp
|
||||
|
||||
LOCAL_MODULE := update_verifier
|
||||
LOCAL_SHARED_LIBRARIES := libhardware libbase
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libbase \
|
||||
libcutils \
|
||||
libhardware \
|
||||
liblog
|
||||
|
||||
LOCAL_CFLAGS := -Werror
|
||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
Reference in New Issue
Block a user