commit | 4d89910d7fed00a84248879590be9581fa866670 | [log] [tgz] |
---|---|---|
author | xy.he <xy.he@mobiletek.cn> | Mon May 12 10:51:04 2025 +0800 |
committer | xy.he@mobiletek.cn <xy.he@mobiletek.cn> | Mon May 12 02:55:12 2025 +0000 |
tree | a2f87d25ed57140611417d05ec339b3bddf03def | |
parent | db55df5eee514b7f4ab6f6d86f2e03c5fab600d1 [diff] |
[Bugfix][T106][bug-view-1113][systime] Fix the cst time zone configuration issue when starting up after flashing the device Only Configure :No Affected branch: mater Affected module: systime Is it affected on both ZXIC and MTK:only ZXIC Self-test: Yes Doc Update: No Change-Id: Id68c876711f701f17c1c68d2691a4a279f09e94f
diff --git a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/fscheck.sh b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/fscheck.sh index b5ccf20..56a4b0d 100755 --- a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/fscheck.sh +++ b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/fscheck.sh
@@ -25,6 +25,11 @@ reboot fi +#xy.he@20250512 add for bug-view-1113 +if [ ! -L /etc_rw/localtime ]; then +ln -s "/usr/share/zoneinfo/Asia/Shanghai" /etc_rw/localtime +fi + #l.yang modify for T106BUG-387 start if [ -e /dev/mmcblk1p1 ]; then mount -t ext4 /dev/mmcblk1p1 /var/log
diff --git a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/rc.local b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/rc.local index fc9a630..3c14b25 100755 --- a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/rc.local +++ b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/rc.local
@@ -33,12 +33,13 @@ rm -rf /etc_rw/udhcpd*.pid +#xy.he@20250512 delete for bug-view-1113 #ln -sf "/etc/zoneinfo/Asia/Shanghai" /etc/localtime -ln -sf "/etc_rw/localtime" /etc/localtime -if [ ! -L /etc_rw/localtime ]; then -ln -sf "/usr/share/zoneinfo/Asia/Shanghai" /etc_rw/localtime -fi +#ln -sf "/etc_rw/localtime" /etc/localtime +#if [ ! -L /etc_rw/localtime ]; then +#ln -sf "/usr/share/zoneinfo/Asia/Shanghai" /etc_rw/localtime +#fi echo "open nvserver at_ctl nv-rpc-daemon zxic_mainctrl rtc-service" > /proc/abnormal_exit_task #jb.qi@20230918 delete for autosuspend -zxic_ramdump > /tmp/ramdump.txt 2>&1 & \ No newline at end of file +zxic_ramdump > /tmp/ramdump.txt 2>&1 &