openwrt/package/base-files/files
Eric Fahlgren 2c7bce7202
Some checks failed
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build Kernel / Build all affected Kernels (push) Has been cancelled
base-files: uci-defaults: migrate time zonename on upgrade
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 54c7ad8d8a)
2026-01-11 19:13:32 +01:00
..
bin base-files: board_detect: make resilient against power-cuts 2025-11-25 21:51:25 +01:00
etc base-files: uci-defaults: migrate time zonename on upgrade 2026-01-11 19:13:32 +01:00
lib base-files: fix default_postinst clearing luci cache 2026-01-02 14:34:58 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: ignore initscript output in sysupgrade 2025-06-22 19:45:02 +01:00
usr base-files: allow platform_check_image to prevent --force 2025-04-21 16:12:42 +01:00