sanders: move init.*.rc to vendor

* Early mount /system
* Create a dedicated fstab for TWRP
* Load fstab from vendor
* Move also ueventd.qcom to vendor

Change-Id: Ifcefd31dcbcf562efc6359e1fa1e155d24d802e5
This commit is contained in:
Vachounet
2018-01-15 09:53:24 +01:00
committed by therootlord
parent edd4757655
commit 14da1dae25
7 changed files with 35 additions and 18 deletions

View File

@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
import /init.mmi.rc
import /system/vendor/etc/init/hw/init.mmi.rc
on early-init
mount tracefs tracefs /sys/kernel/tracing
@@ -42,7 +42,7 @@ on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
mount_all fstab.qcom
mount_all /system/vendor/etc/fstab.qcom
write /proc/sys/vm/swappiness 100
# Keeping following partitions outside fstab file. As user may not have