I'm working on an embedded system with linux. I'm trying to change the timezone used by the operating system and I'm doing this by copying the timezone file from /usr/share/zoneinfo to /etc/localtime (ie.: #cp /usr/share/zoneinfo/Europe/Rome /etc/localtime).
So far so good: the time change accordingly. Anyway there are two weird things:
- if I print the file /etc/timezone I found "Universal" and not /Europe/Rome as I would expect
- I tried to simulate the automatic time change when the daylight saving time occurs but it seems that the time still remain at the old value.
Any help would be appreciated.