diff --git a/core/Makefile b/core/Makefile index 1aacdc66bd..c9e64f8ce9 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1191,9 +1191,10 @@ recovery_initrc := $(call include-path-for, recovery)/etc/init.rc recovery_sepolicy := \ $(TARGET_RECOVERY_ROOT_OUT)/sepolicy \ $(TARGET_RECOVERY_ROOT_OUT)/plat_file_contexts \ - $(TARGET_RECOVERY_ROOT_OUT)/nonplat_file_contexts \ + $(TARGET_RECOVERY_ROOT_OUT)/vendor_file_contexts \ $(TARGET_RECOVERY_ROOT_OUT)/plat_property_contexts \ - $(TARGET_RECOVERY_ROOT_OUT)/nonplat_property_contexts + $(TARGET_RECOVERY_ROOT_OUT)/vendor_property_contexts + # Passed into rsync from non-recovery root to recovery root, to avoid overwriting recovery-specific # SELinux files IGNORE_RECOVERY_SEPOLICY := $(patsubst $(TARGET_RECOVERY_OUT)/%,--exclude=/%,$(recovery_sepolicy))