Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0311f6c2 authored by Bowgo Tsai's avatar Bowgo Tsai Committed by android-build-merger
Browse files

Merge "Includes odm SELinux contexts files for recovery" am: d39eeb44

am: 6c73723b

Change-Id: I2b33fb2cbd83c40ff4fd2ed00cfadd992d9863ba
parents cef48595 6c73723b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1203,6 +1203,12 @@ recovery_sepolicy := \
    $(TARGET_RECOVERY_ROOT_OUT)/plat_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
# SELinux files
IGNORE_RECOVERY_SEPOLICY := $(patsubst $(TARGET_RECOVERY_OUT)/%,--exclude=/%,$(recovery_sepolicy))