Merge "Includes odm SELinux contexts files for recovery"
This commit is contained in:
commit
d39eeb44f1
1 changed files with 6 additions and 0 deletions
|
@ -1202,6 +1202,12 @@ recovery_sepolicy := \
|
||||||
$(TARGET_RECOVERY_ROOT_OUT)/plat_property_contexts \
|
$(TARGET_RECOVERY_ROOT_OUT)/plat_property_contexts \
|
||||||
$(TARGET_RECOVERY_ROOT_OUT)/vendor_property_contexts
|
$(TARGET_RECOVERY_ROOT_OUT)/vendor_property_contexts
|
||||||
|
|
||||||
|
ifdef BOARD_ODM_SEPOLICY_DIRS
|
||||||
|
recovery_sepolicy += \
|
||||||
|
$(TARGET_RECOVERY_ROOT_OUT)/odm_file_contexts \
|
||||||
|
$(TARGET_RECOVERY_ROOT_OUT)/odm_property_contexts
|
||||||
|
endif
|
||||||
|
|
||||||
# Passed into rsync from non-recovery root to recovery root, to avoid overwriting recovery-specific
|
# Passed into rsync from non-recovery root to recovery root, to avoid overwriting recovery-specific
|
||||||
# SELinux files
|
# SELinux files
|
||||||
IGNORE_RECOVERY_SEPOLICY := $(patsubst $(TARGET_RECOVERY_OUT)/%,--exclude=/%,$(recovery_sepolicy))
|
IGNORE_RECOVERY_SEPOLICY := $(patsubst $(TARGET_RECOVERY_OUT)/%,--exclude=/%,$(recovery_sepolicy))
|
||||||
|
|
Loading…
Reference in a new issue