[Git-commits] [grml/grml-autoconfig] e96da7: Re-design config_timezone for TZ + localtime handl...
Michael Prokop
noreply at github.com
Thu Jan 30 01:12:38 CET 2025
Branch: refs/heads/mika/timezone
Home: https://github.com/grml/grml-autoconfig
Commit: e96da70e24bc9bd8e3f4b4a90476d2a54d748926
https://github.com/grml/grml-autoconfig/commit/e96da70e24bc9bd8e3f4b4a90476d2a54d748926
Author: Michael Prokop <mika at grml.org>
Date: 2025-01-30 (Thu, 30 Jan 2025)
Changed paths:
M autoconfig
M autoconfig.functions
M debian/control
M grml-autoconfig
Log Message:
-----------
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.
https://github.com/systemd/systemd/issues/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.
To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-autoconfig/settings/notifications
More information about the Git-commits
mailing list