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

@@ -1,5 +1,5 @@
# Moto USB configuration
import /init.mmi.usb.rc
import /system/vendor/etc/init/hw/init.mmi.usb.rc
on early-boot
write /sys/module/subsystem_restart/parameters/disable_restart_work 0x0
@@ -65,6 +65,7 @@ on post-fs
chmod 0711 /persist/rfs/msm/mpss
chmod 0771 /persist/rfs/msm/mpss/mot_rfs
swapon_all /system/vendor/etc/fstab.qcom
write /proc/sys/vm/page-cluster 0
on post-fs-data