MiGrid workspace where master branch is kept strictly in sync with SF upstream svn repo. Any development or experiments should use a branch. You probably want to fork your own clone or work e.g. on the edge branch if you wish to contribute.
GNU General Public License v2.0
3
stars
4
forks
source link
Make timezone parsing more portable and robust #81
Make timezone parsing in generateconfs more portable and robust to make it work even inside docker and similar sparse envs where timedatectl is not available.
Tries TZ environment, /etc/localtime symlink to zone file and existing timedatectl command in turn.
Fixes issue with make PY=2 test spewing errors because docker doesn't have timedatectl included.
Make timezone parsing in generateconfs more portable and robust to make it work even inside docker and similar sparse envs where
timedatectl
is not available. TriesTZ
environment,/etc/localtime
symlink to zone file and existingtimedatectl
command in turn.Fixes issue with
make PY=2 test
spewing errors because docker doesn't havetimedatectl
included.