Skip to content
Snippets Groups Projects
  1. Jul 24, 2015
  2. Jul 14, 2015
  3. Jul 12, 2015
  4. Jul 10, 2015
  5. Jul 08, 2015
  6. Jun 29, 2015
  7. Jun 28, 2015
  8. Jun 25, 2015
  9. Jun 24, 2015
  10. Jun 23, 2015
  11. Jun 22, 2015
  12. Jun 21, 2015
  13. Jun 20, 2015
  14. Jun 19, 2015
    • nbd's avatar
      musl: read the timezone from /etc/TZ · c4b05976
      nbd authored
      
      Currently the OpenWRT boot scripts write the timezone configuration to
      /tmp/TZ, relying on the behaviour of uClibc that the timezone is read
      from /etc/TZ if no TZ env variable is found.
      
      This works because /etc/TZ is a symlink to /tmp/TZ.
      
      Musl libc however only reads the timezone from the TZ env variable and
      if it doesn't find it or it's empty, it will look for a zoneinfo
      file, that doesn't exist.
      
      So in musl builds no timezone is ever set.
      
      This patch fixes the issue by having musl libc behave like uClibc: if no
      TZ env variable is found it will try to load it from /etc/TZ.
      
      Signed-off-by: Gianluca Anzolin <gianluca at sottospazio.it>
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46069 3c298f89-4303-0410-b956-a3cf2f4a3e73
      c4b05976
  15. Jun 18, 2015
  16. Jun 17, 2015
  17. Jun 16, 2015
  18. Jun 11, 2015
  19. Jun 04, 2015
  20. Jun 03, 2015
  21. May 26, 2015
  22. May 23, 2015
  23. May 10, 2015
  24. Apr 03, 2015
  25. Mar 29, 2015
  26. Mar 28, 2015
  27. Mar 26, 2015
  28. Mar 25, 2015
Loading