sanders: Moving persist mount point to /mnt/vendor/persist
Move persist entry to fstab and mount at /mnt/vendor/persist Apply required user, group and permissions once persist folder is created through __mount and parititon is mounted. Run restorecon on /mnt/vendor/persist. Change-Id: I7f54b478de898491e32560d5a37657ac370bf893
This commit is contained in:
@@ -45,13 +45,11 @@ on fs
|
||||
mount_all /vendor/etc/fstab.qcom
|
||||
write /proc/sys/vm/swappiness 100
|
||||
|
||||
# Keeping following partitions outside fstab file. As user may not have
|
||||
# these partition flashed on the device. Failure to mount any partition in fstab file
|
||||
# results in failure to launch late-start class.
|
||||
|
||||
wait /dev/block/bootdevice/by-name/persist
|
||||
mkdir /persist/data 0700 system system
|
||||
restorecon_recursive /persist
|
||||
chown root system /mnt/vendor/persist
|
||||
chmod 0771 /mnt/vendor/persist
|
||||
mkdir /mnt/vendor/persist/data 0700 system system
|
||||
mkdir /mnt/vendor/persist/bms 0700 root system
|
||||
restorecon_recursive /mnt/vendor/persist
|
||||
|
||||
wait /dev/block/bootdevice/by-name/dsp
|
||||
restorecon_recursive /dsp
|
||||
|
||||
Reference in New Issue
Block a user