WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore 8.x tzdata  (Read 2242 times)

Offline Јаневски

  • Jr. Member
  • **
  • Posts: 61
piCore 8.x tzdata
« 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: piCore 8.x tzdata
« Reply #1 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.

Offline Јаневски

  • Jr. Member
  • **
  • Posts: 61
Re: piCore 8.x tzdata
« Reply #2 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...
« Last Edit: April 29, 2018, 07:39:37 AM by Јаневски »

Offline Јаневски

  • Jr. Member
  • **
  • Posts: 61
Re: piCore 8.x tzdata
« Reply #3 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.
« Last Edit: April 29, 2018, 10:25:14 AM by Јаневски »