Closed kaihendry closed 12 years ago
Timezone is set using debconf in the live scripts. we probably don't want to use that.
How about user's specifying timezone= in their boot config?
I left https://github.com/Webconverger/webc/blob/master/lib/live/config/005-tzdata and the debconf db in there since I didn't have time to investigate how say the browser figures out the local time zone.
Some flat file or some query to the db?
Don't quite understand the "timezone= in their boot config" suggestion. Default is UTC which is fine. :)
But other than 005-tzdata, we could probably nuke https://github.com/Webconverger/webc/tree/master/lib/live/config IIUC?
On 19 May 2012 16:32, patrickhaller reply@reply.github.com wrote:
Timezone is set using debconf in the live scripts. we probably don't want to use that.
How about user's specifying timezone= in their boot config?
Reply to this email directly or view it on GitHub: https://github.com/Webconverger/webc/issues/34#issuecomment-5800275
Some flat file or some query to the db?
Should be system time from gettimeofday() ?
Don't quite understand the "timezone= in their boot config" suggestion. Default is UTC which is fine. :)
Right, it defaults to UTC unless someone put timezone= as a boot / cmdline option.
Starting to think this move was bad move. RE https://github.com/Webconverger/webc/issues/43 #43
Why not rely on https://github.com/Webconverger/webc/tree/master/lib/live/config ? Besides ugly boot=live? Does it mess up the install version?
Sorry just trying to do some house keeping here and I don't quite understand the problem any more.
boot=live works
This is related to #13
We rely on some of the scripts from https://github.com/Webconverger/webc/tree/master/lib/live/config to run for:
From https://github.com/Webconverger/webc/blob/master/lib/live/config.sh#L210 we can see it needs live=config not live=local