Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Јаневски on April 29, 2018, 05:59:37 AM

Title: piCore 8.x tzdata
Post by: Јаневски on April 29, 2018, 05:59:37 AM
Hello,

I am trying to set timezone on boot via tz= within cmdline.txt, however, it doesn't work and there doesn't seem to be tzdata.tcz available in the repo.

Perhaps i am doing something wrong.
How do i set a time zone on a pi?

Best Regards,
Jovan
Title: Re: piCore 8.x tzdata
Post by: Juanito on April 29, 2018, 06:36:07 AM
There's an explanation of what to do, without requiring tzdata, in the boot codes section of the wiki.
Title: Re: piCore 8.x tzdata
Post by: Јаневски on April 29, 2018, 07:37:03 AM
I've been adding things like tz=GMT-1 tz=GMT tz=GMT+1 tz=CEST, but $ date states GMT all the time and the offset doesn't change. dmesg doesn't seem to note anything regarding tz, except that it's in the initial boot line. I'll look again in the wiki, as i did before...
Title: Re: piCore 8.x tzdata
Post by: Јаневски on April 29, 2018, 10:17:39 AM
Lack of sleep got the better out of me. I've been editing /mnt/mmcblk0p1/cmdline.txt instead of cmdline3.txt for rpi3 B. Now i edit both and it works. Okay, enough of this for me for today...

Thank you! And sorry for needlessly opening a thread.