From 38c404c6da1ba675058a6763e0920b2a437b8218 Mon Sep 17 00:00:00 2001 From: kaichieh Date: Fri, 1 Sep 2017 10:50:46 +0800 Subject: [PATCH] Renames sepolicy files from nonplat_* to vendor_* Bug: 64240127 Test: normal boot and recovery boot a device Change-Id: Ie30b4859d4d573cd2d35419195181695639f6582 --- core/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/Makefile b/core/Makefile index 4a3f2c4a5..3a593f4ad 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1134,9 +1134,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))