Applications Error

we have an application thats running and is fine on ubuntu however on the mangoh green board we are getting this error during an strace … are there really no timezone files onboard ?

open("/usr/share/zoneinfo/UTC", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

Hi outbackdingo,
Same here I could not find zoneinfo files on my device and it is by default to UTC.

If need complete zoneinfo support, you may add “tzdata” to Yocto and rebuild your own image.
Copy this file from Linux PC to device manually and it should works as well.

Hope it helps.