From 3e9f3507eec2853d539238b71b07c939efd69b8c Mon Sep 17 00:00:00 2001 From: Dede Dindin Qudsy Date: Thu, 23 Jun 2022 12:55:48 +0200 Subject: [PATCH] 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 --- rootdir/etc/init.qcom.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 11a0e28..883afde 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -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