-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-design config_timezone for TZ + localtime handling + drop config_time
The file /etc/default/rcS no longer exists, and also /etc/adjtime doesn't necessarily exist any longer. Instead, even /etc/timezone is gone nowadays, see e.g. systemd/systemd#35413 We don't need to support the bootoption "utc" any longer, as this is the default nowadays. Don't invoke hwlock at all anymore, instead set /etc/localtime to the timezone requested via boot option tz=..., if set. Accordingly drop Depends on util-linux-extra, which we no longer need now with the hwclock removal. And use `timedatectl set-local-rtc 1` as interface for /etc/adjtime with its localtime handling. Drop $CONFIG_TIME + config_time with this cleanup and handle all of the remaining timezone handling within $CONFIG_TIMEZONE + config_timezone. Thanks to Chris and Darsha for the debugging session, and clarifying this.
- Loading branch information
Showing
4 changed files
with
24 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters