sdm710-common: rootdir: Rename /persist to /mnt/vendor/persist

* Since /persist is just link to /mnt/vendor/persist

* It fixes:
init: Command 'chown root system /persist' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:285) took 0ms and failed: lchown() failed: Read-only file system
init: Command 'chmod 0771 /persist' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:286) took 0ms and failed: fchmodat() failed: Read-only file system

Signed-off-by: Dede Dindin Qudsy <xtrymind@gmail.com>
This commit is contained in:
Dede Dindin Qudsy 2022-06-23 12:55:48 +02:00 committed by Ultra119
parent 9dab9da13d
commit 3e9f3507ee

View file

@ -367,8 +367,8 @@ on post-fs-data
# Mounting of persist is moved to 'on emmc-fs' and 'on fs' sections
# We chown/chmod /persist again so because mount is run as root + defaults
chown root system /persist
chmod 0771 /persist
chown root system /mnt/vendor/persist/
chmod 0771 /mnt/vendor/persist/
chown system system /persist/WCNSS_qcom_wlan_nv.bin
chmod 0664 /sys/devices/platform/msm_sdcc.1/polling
chmod 0664 /sys/devices/platform/msm_sdcc.2/polling