What if the time zone is not set during installation?
by Didier Spaier from LinuxQuestions.org on (#53VBV)
In next version of the Slint installer I want to provide a mode that needs as less user interaction as possible, at the price of more post-installation configuration.
Some distributions' installers propose a timezone based on the IP geolocation and I've found a handy application to do that: https://github.com/cdown/tzupdate so I have considered including it in the installer, but that would need to ship also python and python-setuptools in it, furthermore I have no guarantee that the user's machine can have an Internet connection at time of installation.
Is there any issue delaying the timezone setting after installation? I consider suggesting users to run after installation a script that does:Code:tzupdate -p # prints the timezone found with IP geolocation; if found and OK then tzupdate; else ask the user to set the timezone; fi
ntpd -gq
hwclock -wand have /etc/rc.d/rc.ntpd executable by default.
I'd set the hardware clock to UTC by default.


Some distributions' installers propose a timezone based on the IP geolocation and I've found a handy application to do that: https://github.com/cdown/tzupdate so I have considered including it in the installer, but that would need to ship also python and python-setuptools in it, furthermore I have no guarantee that the user's machine can have an Internet connection at time of installation.
Is there any issue delaying the timezone setting after installation? I consider suggesting users to run after installation a script that does:Code:tzupdate -p # prints the timezone found with IP geolocation; if found and OK then tzupdate; else ask the user to set the timezone; fi
ntpd -gq
hwclock -wand have /etc/rc.d/rc.ntpd executable by default.
I'd set the hardware clock to UTC by default.