universal8895-common: Lets include samsung_slsi/sepolicy
authorivanmeler <i_ivan@windowslive.com>
Mon, 11 Apr 2022 13:13:14 +0000 (13:13 +0000)
committerJan Altensen <info@stricted.net>
Wed, 13 Jul 2022 00:49:26 +0000 (02:49 +0200)
Change-Id: I84f3d09724148a539c69fd77fc71cd8eb95e2514

BoardConfigCommon.mk
lineage.dependencies
sepolicy/file_contexts [deleted file]
sepolicy/vendor/file_contexts [new file with mode: 0644]

index 78459299d07f3200b17a4461d8b12ce8817bcbf0..d7c65afb0269943bbe16a84bd56d2bf73e01b371 100644 (file)
@@ -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
index 89d4bf2e562eabafc3d628c72f84e2f9733184ca..698c3e01740a0685cad680d9e28c841107750de0 100644 (file)
@@ -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 (file)
index 01e6921..0000000
+++ /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 (file)
index 0000000..01e6921
--- /dev/null
@@ -0,0 +1 @@
+/cpefs(/.*)?             u:object_r:efs_file:s0