Merge "update_verifier: raise priority and ioprio and start with exec_start"

This commit is contained in:
Treehugger Robot
2017-03-29 18:39:30 +00:00
committed by Gerrit Code Review
2 changed files with 13 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_CFLAGS := -Werror
LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
LOCAL_INIT_RC := update_verifier.rc
ifeq ($(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_SUPPORTS_VERITY),true)
LOCAL_CFLAGS += -DPRODUCT_SUPPORTS_VERITY=1
endif

View File

@@ -0,0 +1,11 @@
service update_verifier_nonencrypted /system/bin/update_verifier nonencrypted
user root
class cache
priority -20
ioprio rt 1
service update_verifier /system/bin/update_verifier ${vold.decrypt}
user root
class cache
priority -20
ioprio rt 1