Timezone names no longer allow spaces, so older installations
upgrading to new will have their timezone reset to UTC.
For example, on 24.10:
$ uci get system.@system[0].zonename
America/Los Angeles
After upgrade to 25.12:
$ uci get system.@system[0].zonename
UTC
Add a migration script to edit zonename on first boot.
Fixes: https://github.com/openwrt/luci/commit/d9a087e4
Link: https://github.com/openwrt/luci/issues/8203
Link: https://forum.openwrt.org/t/openwrt-25-12-0-rc1-release-candidate/244364/98
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21482
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| board.d | ||
| hotplug.d | ||
| init.d | ||
| iproute2 | ||
| profile.d | ||
| rc.button | ||
| sysctl.d | ||
| uci-defaults | ||
| banner | ||
| banner.failsafe | ||
| device_info | ||
| diag.sh | ||
| ethers | ||
| fstab | ||
| group | ||
| hosts | ||
| inittab | ||
| openwrt_release | ||
| openwrt_version | ||
| os-release | ||
| passwd | ||
| preinit | ||
| profile | ||
| protocols | ||
| rc.common | ||
| rc.local | ||
| services | ||
| shadow | ||
| shells | ||
| shinit | ||
| sysctl.conf | ||
| sysupgrade.conf | ||