FS#13196 - refactor timezone/date/time setting to behave correctly and use dialog

Attached to Project: Release Engineering
Opened by Greg (dolby) - Tuesday, 10 February 2009, 23:57 GMT
Last edited by Gerhard Brauer (GerBra) - Sunday, 02 August 2009, 12:10 GMT
Task Type Feature Request
Category AIF
Status Closed
Assigned To Gerhard Brauer (GerBra)
Dieter Plaetinck (Dieter_be)
Architecture All
Severity Low
Priority Normal
Reported Version 2009.02-RC
Due in Version 2009.08-RC
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Set Clock should be done inside dialog menus & not drop into console.
This task depends upon

Closed by  Gerhard Brauer (GerBra)
Sunday, 02 August 2009, 12:10 GMT
Reason for closing:  Implemented
Comment by Aaron Griffin (phrakture) - Wednesday, 11 February 2009, 18:34 GMT
Set clock DOES use a dialog, the timezone setting does not - is that what you're referring to?
Comment by Greg (dolby) - Wednesday, 11 February 2009, 19:12 GMT
Yes. I dont consider it that important. Its mostly cosmetic.
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 11 February 2009, 19:53 GMT
agreed. tpowa has made a script for this afaik.
Comment by Tobias Powalowski (tpowa) - Monday, 16 February 2009, 19:33 GMT
yeah it's called tz in archboot git
Comment by Aaron Griffin (phrakture) - Monday, 16 February 2009, 20:16 GMT
I thought I imported tz somewhere :S
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 25 February 2009, 21:59 GMT
I ported the tz script into aif (experimental branch). http://github.com/Dieterbe/aif/commit/5cd407fbb9b44b476ae7c9d460594322f465c24f
it doesn't work completely yet though.. stay tuned.
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 08 March 2009, 15:16 GMT
Gerhard and I are implementing a more correct version using dialog.
Comment by Dieter Plaetinck (Dieter_be) - Monday, 23 March 2009, 07:32 GMT
increasing prio because date setting is broken atm.
Comment by Dieter Plaetinck (Dieter_be) - Monday, 30 March 2009, 20:00 GMT
refactoring mostly done I think. see http://projects.archlinux.org/?p=aif.git;a=commit;h=84424e82e5407315d2cedfe33c45629ffd8b56d8 I need to play/test this a bit more though
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 19 July 2009, 11:23 GMT
Gerhard has done some more patches for this. I think it works well now. at least it works for me.
G, can we close?
Comment by Gerhard Brauer (GerBra) - Sunday, 19 July 2009, 11:49 GMT
We should put this on the list what we want have to test by test users of the alpha/RC images.
I we don't hear anything against then we should make it fixed for the final images.
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 19 July 2009, 12:19 GMT
Reminder: we are also waiting on  FS#15263 
someone made a new initscripts tag yesterday so i hope they will push this to testing/core
Comment by Dieter Plaetinck (Dieter_be) - Tuesday, 21 July 2009, 19:20 GMT
Hmmm...

worker_initialtime ()
{
cp /etc/localtime ${var_TARGET_DIR}/etc/localtime
}

gives: /etc/localtime: no such file or directory (you see this error very shortly if you pay close attention right after the base locales generation after the configure system step
what do we do with this?
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 22 July 2009, 07:10 GMT
Re: the above. hold on, i realised i might have skipped the "set clock" step in that test. I'll recheck
Comment by Gerhard Brauer (GerBra) - Sunday, 02 August 2009, 12:10 GMT
Tested again the time/timezone setting. All works fine here and we have no strayed outputs from tools which work for us in "the background).

Loading...