summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Semwal <sumit.semwal@linaro.org>2018-08-15 14:33:34 +0530
committerSumit Semwal <sumit.semwal@linaro.org>2018-08-15 14:33:34 +0530
commite8f5d9dd5cfc962d015ed0e387c0bbec599828b1 (patch)
treefe9fa72720e3690114217dc760f2af0d563796b9
parentd3042ff7b7861238493ec724f6c633db88962432 (diff)
trial for expattreble-wip
Change-Id: I1f62f5aa33658a860679aa66552d13216ba30d6a Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
-rw-r--r--db820c/BoardConfig.mk1
-rw-r--r--device-common.mk1
-rw-r--r--sepolicy/file_contexts1
3 files changed, 3 insertions, 0 deletions
diff --git a/db820c/BoardConfig.mk b/db820c/BoardConfig.mk
index 3738d52..3f58615 100644
--- a/db820c/BoardConfig.mk
+++ b/db820c/BoardConfig.mk
@@ -12,6 +12,7 @@ BOARD_KERNEL_BASE := 0x80000000
BOARD_KERNEL_PAGESIZE := 4096
BOARD_KERNEL_CMDLINE := firmware_class.path=/vendor/firmware/ androidboot.hardware=db820c
BOARD_KERNEL_CMDLINE += printk.devkmsg=on
+BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4294967296 #4G
BOARD_USERDATAIMAGE_PARTITION_SIZE := 12884901888 #12G
BOARD_CACHEIMAGE_PARTITION_SIZE := 536870912 #512M
diff --git a/device-common.mk b/device-common.mk
index ddbe571..e57d383 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -35,6 +35,7 @@ PRODUCT_PACKAGES := \
android.hardware.graphics.mapper@2.0-service \
gralloc.gbm \
hwcomposer.drm \
+ libexpat_vendor \
libGLES_mesa
# Use Launcher3
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 141d646..ce53bda 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -15,4 +15,5 @@
/(vendor|system/vendor)/lib(64)?/libgbm\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/dri/gallium_dri\.so u:object_r:same_process_hal_file:s0
+/(vendor|system/vendor)/lib(64)?/dri/msm_dri\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/libdrm_freedreno\.so u:object_r:same_process_hal_file:s0