#10605 NORM 11.2.0-: set default timezone at build time
Zarro Boogs per Child
bugtracker at laptop.org
Wed Jun 15 20:18:49 EDT 2011
#10605: set default timezone at build time
------------------------------------+---------------------------------------
Reporter: jvonau | Owner: dsd
Type: defect | Status: reopened
Priority: normal | Milestone: 11.2.0-M3
Component: build-system | Version: not specified
Resolution: | Keywords:
Next_action: code | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
------------------------------------+---------------------------------------
Comment(by jvonau):
Sorry, mistyped what I wanted, two different issues, ntpdate does not
touch /etc/localtime at all. ntpdate tracks its local changes on the first
2 lines of /etc/adjtime. I think it would be good to have around between
reboots, via removal from /etc/rwtab, and not revert. I believe this may
break olpc-update unless there is a pristine copy in /security/state/etc
via /etc/statetab.d/olpc like /etc/hosts has.
In order for gnome's clock applet to show the correct time for your
timezone, /etc/localtime needs to be the correct file from
/usr/share/zoneinfo. This is what imgcreate/kickstart.py does during the
creation process and the result is stored in /etc/sysconfig/clock. To
alter the timezone after the image is created you would need to change the
/etc/localtime file and edit /etc/sysconfig/clock to reflect the change. I
believe this would break the pristine-ness of the image like changes to
/etc/hosts would, hampering olpc-update or the local changes maybe be
overwritten upon upgrading due to not being the the /security/state
directory tree.
Changing the timezone in sugar is trivial, I'm testing something for os-
builder to set the timezone for sugar at image creation time.
--
Ticket URL: <http://dev.laptop.org/ticket/10605#comment:19>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list