diff options
author | Bruno Martins <bgcngm@gmail.com> | 2018-10-08 00:25:18 +0100 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2019-10-25 22:17:12 +0200 |
commit | da35b73c5608359950ab49cbee5ac82b19c4364a (patch) | |
tree | 282028f3dc2f96b0ee7542eafc144f619169fb1d /BoardConfigCommon.mk | |
parent | 8966517b05277b37d3f627b4447efbe96e4bfbea (diff) |
shinano-common: Create root folders outside of vendor init script
* The core SELinux policies for vendor_init are being restricted as to
comply with Treble. Simply adding a local rule to allow creating
folders under rootfs would be enough, but at the same time defining
the extra root folders and making use of AID/fs configuration file
to set perms is more neat and clean.
* Furthermore, with System As Root / is a read-only filesystem
so we can't create our mountpoints from init script anymore
Change-Id: Idabd7ae72e4c4fd9daac5ba3be3e6236f79f251b
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r-- | BoardConfigCommon.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 41b1a0f..84f2e3b 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -61,6 +61,7 @@ TARGET_USES_MEDIA_EXTENSIONS := true # Filesystem BOARD_FLASH_BLOCK_SIZE := 131072 +TARGET_FS_CONFIG_GEN += $(COMMON_PATH)/config.fs TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_F2FS := true @@ -75,6 +76,7 @@ BOARD_BOOTIMAGE_PARTITION_SIZE := 20971520 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16777216 BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2671771648 +BOARD_ROOT_EXTRA_FOLDERS := idd lta-label # Recovery TARGET_RECOVERY_FSTAB := $(COMMON_PATH)/rootdir/etc/fstab.qcom |