Remove marlin/sailfish specific sepolicy

Don't use sepolicy dir for marlin/sailfish.

Bug: 36231802
Test: aosp_arm64_ab should boot
Change-Id: I0e76841530cec2c51b61251ffde802bd7ec10663
This commit is contained in:
Jiyong Park
2017-03-27 20:58:30 +09:00
parent 8f5c5fd7fe
commit 6fdf938751
3 changed files with 24 additions and 6 deletions

View File

@@ -85,10 +85,8 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
BOARD_NAND_SPARE_SIZE := 0
BOARD_FLASH_BLOCK_SIZE := 512
###############################################################################
# Below are sailfish/marlin specific configs.
# Must be moved after early-mount is supported.
###############################################################################
BOARD_SEPOLICY_DIRS += device/google/marlin/sepolicy
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
# TODO(b/36764215): remove this setting when the generic system image
# no longer has QCOM-specific directories under /.
BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy

View File

@@ -0,0 +1,7 @@
# TODO(b/36764215): remove this file when the generic system image
# no longer has these directories
type bt_firmware_file, file_type;
type persist_file, file_type;
# Default type for anything under /firmware.
type firmware_file, fs_type, contextmount_type;

View File

@@ -0,0 +1,13 @@
# TODO(b/36764215): remove this file when the generic system image
# no longer has these directories. They are specific to QCOM.
# /
/bt_firmware(/.*)? u:object_r:bt_firmware_file:s0
/tombstones u:object_r:rootfs:s0
/dsp u:object_r:rootfs:s0
# /persist
/persist(/.*)? u:object_r:persist_file:s0
# files in firmware
/firmware(/.*)? u:object_r:firmware_file:s0