From 8b5f51403814c0b095c6868e34303679f9d2cdd3 Mon Sep 17 00:00:00 2001 From: Bowgo Tsai Date: Thu, 4 Jan 2018 16:34:40 +0800 Subject: [PATCH] Renames sepolicy files from nonplat_* to vendor_* Bug: 64240127 Test: boot an existing device Change-Id: I6d6ac7d9dee450b2a20649e5f4dbb8976f48061e --- core/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/Makefile b/core/Makefile index 1aacdc66b..c9e64f8ce 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))