universal7580: Create root folders outside of vendor init script
authorBruno Martins <bgcngm@gmail.com>
Sun, 7 Oct 2018 23:25:18 +0000 (01:25 +0200)
committerDanny Wood <danwood76@gmail.com>
Tue, 10 Mar 2020 15:25:55 +0000 (15:25 +0000)
commita4afb280abf6858ce1a8558eb064bde30aee02c0
tree5e64b93080527681d8b9423f049f2af8bc6cc060
parentd11af90eef037b22e75ba0773858a5ea56de7b56
universal7580: 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
BoardConfigCommon.mk
config.fs [new file with mode: 0644]
ramdisk/etc/fstab.samsungexynos7580
ramdisk/etc/init.baseband.rc
ramdisk/etc/init.samsungexynos7580.rc
sepolicy/file_contexts