I'm using AlexT's repo and tried to set the timezone of my intel galileo board, but can't figure out how to do it.
i tried with tzdata, but its not installed (get tzdata command not found) and can't install the packet with opkg
i don't have the files at /etc/localtime neither the directory /usr/share/zoneinfo/, or i don't know where
i tried with ntpdata and is running, but the timezone is wrong, so it mess up my time everytime i set it manually. I tried setting different servers, but every server gives me the same time, even the ones that should have the same timezone as me.
i'm trying to set the zone at South America - Buenos Aires.
Thanks in advance and sorry for my english
Thanks for the answer, i tried the steps on your link, but i can't use the command tzcongif, same problem with tzdata i get "-sh: tzconfig: command not found"
also i tried every step here:
none works, mostly because i'm getting the "command not found"
Hi, AlexT's version is a Poky version with dev tools (checked the version with command lines).
sadly i couldn't contact Alex with this new forum to ask him directly if he could help me.
By the way, i could solve my problem (kinda), i needed the right time zone, because i'm collecting sensors data in a MySQL database in this data its included the date and time, using Current_date() and Current_time() fuctions from MySQL.
i solve my problem by subtracting the hour on the mysql query like this: current_time() -30000 (minus 3 hours).
i said kind, because i will have problems at midnight, when the date changues the day.
i struggled a lot to install and make it work both mysql and apache2 on Alex's image, you know if its possible to install and use both of these packets on the image you linked? if it allows some packet manager like opkg, apt, etc?
because the default image i tried from the intel support site, didn't worked for me.
Using @Alex_Intel 's repo you should be able to build the packages your are missing (`bitbake tzdata`). You should then be able to copy them to you device and install using the package manager.
Or, you can build your own repo, add it to your package manager (I use dpkg and deb's so I'm not familar with opkg). Then when you install a package it will resolve dependencies automatically. For edison, this is how I do it: https://edison-fw.github.io/meta-intel-edison/5.0-Creating-a-deb-repository.html
With this 2nd method you can easily add all packages that are not included by Alex, without rebuilding everything.