From 07365dfb082684e4f09ede2eba63a6945610524b Mon Sep 17 00:00:00 2001 From: Bowgo Tsai Date: Sat, 28 Sep 2019 09:04:51 +0800 Subject: [PATCH] recovery: install system_ext file_contexts and property_contexts System Ext partition is not mounted in recovery mode. Install system_ext_file_contexts and system_ext_property_contexts into rootdir for recovery. This is similar to how we deal with system, product, vendor, odm *_contexts files. Bug: 137712473 Test: m bootimage for pixel 2, system_ext_file_contexts and system-ext_property_contexts appear in $OUT/recovery/root/ Change-Id: I94b965d775e727fbbe26c8b715bbce3ca6179fa7 --- core/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index 0a990cb40..addb4eb93 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1733,8 +1733,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)/vendor_file_contexts \ $(TARGET_RECOVERY_ROOT_OUT)/plat_property_contexts \ + $(TARGET_RECOVERY_ROOT_OUT)/system_ext_file_contexts \ + $(TARGET_RECOVERY_ROOT_OUT)/system_ext_property_contexts \ + $(TARGET_RECOVERY_ROOT_OUT)/vendor_file_contexts \ $(TARGET_RECOVERY_ROOT_OUT)/vendor_property_contexts \ $(TARGET_RECOVERY_ROOT_OUT)/odm_file_contexts \ $(TARGET_RECOVERY_ROOT_OUT)/odm_property_contexts \