Skip to content

Commit

Permalink
maserati: add selinux-labels for non-safestrap-partitions
Browse files Browse the repository at this point in the history
Change-Id: Ib5bc180903d1545fc32119dcef40bd0285a7d716
  • Loading branch information
stargo committed Jan 14, 2016
1 parent e4ddb19 commit 2225fb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BoardConfig.mk
Expand Up @@ -36,3 +36,6 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/motorola/maserati/bluetoot
BOARD_KERNEL_CMDLINE := root=/dev/ram0 rw mem=1023M@0x80000000 console=null vram=10300K omapfb.vram=0:8256K,1:4K,2:2040K init=/init ip=off mmcparts=mmcblk1:p7(pds),p8(utags),p14(boot),p15(recovery),p16(cdrom),p17(misc),p18(cid),p19(kpanic),p20(system),p21(cache),p22(preinstall),p23(webtop),p24(userdata),p25(emstorage) mot_sst=1 androidboot.bootloader=0x0A74 androidboot.hardware=mapphone_cdma androidboot.selinux=enforcing
BOARD_KERNEL_BASE := 0x80000000
BOARD_PAGE_SIZE := 0x4096

BOARD_SEPOLICY_DIRS += \
device/motorola/maserati/sepolicy
4 changes: 4 additions & 0 deletions sepolicy/file_contexts
@@ -0,0 +1,4 @@
# Devices
/dev/block/mmcblk1p20 u:object_r:system_block_device:s0
/dev/block/mmcblk1p24 u:object_r:userdata_block_device:s0
/dev/block/mmcblk1p21 u:object_r:cache_block_device:s0

0 comments on commit 2225fb1

Please sign in to comment.