From: ivanmeler Date: Mon, 11 Apr 2022 13:13:14 +0000 (+0000) Subject: universal8895-common: Lets include samsung_slsi/sepolicy X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8327963269d566094227290b31b6c32ddc017bdb;p=GitHub%2Fexynos8895%2Fandroid_device_samsung_universal8895-common.git universal8895-common: Lets include samsung_slsi/sepolicy Change-Id: I84f3d09724148a539c69fd77fc71cd8eb95e2514 --- diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 7845929..d7c65af 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -135,9 +135,11 @@ WIFI_HIDL_FEATURE_DUAL_INTERFACE := true # MACLOADER BOARD_HAVE_SAMSUNG_WIFI := true -# Selinux -BOARD_SEPOLICY_DIRS += device/samsung/universal8895-common/sepolicy -BOARD_SEPOLICY_VERS := $(PLATFORM_SDK_VERSION).0 +# Sepolicy +include device/lineage/sepolicy/exynos/sepolicy.mk +BOARD_SEPOLICY_TEE_FLAVOR := mobicore +include device/samsung_slsi/sepolicy/sepolicy.mk +BOARD_SEPOLICY_DIRS += device/samsung/universal8895-common/sepolicy/vendor # Ril ENABLE_VENDOR_RIL_SERVICE := true diff --git a/lineage.dependencies b/lineage.dependencies index 89d4bf2..698c3e0 100644 --- a/lineage.dependencies +++ b/lineage.dependencies @@ -1,4 +1,8 @@ [ + { + "repository": "android_device_samsung_slsi_sepolicy", + "target_path": "device/samsung_slsi/sepolicy" + }, { "repository": "android_hardware_samsung", "target_path": "hardware/samsung" diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts deleted file mode 100644 index 01e6921..0000000 --- a/sepolicy/file_contexts +++ /dev/null @@ -1 +0,0 @@ -/cpefs(/.*)? u:object_r:efs_file:s0 diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts new file mode 100644 index 0000000..01e6921 --- /dev/null +++ b/sepolicy/vendor/file_contexts @@ -0,0 +1 @@ +/cpefs(/.*)? u:object_r:efs_file:s0