summaryrefslogtreecommitdiffstats
path: root/rules/timezone.make
Commit message (Collapse)AuthorAgeFilesLines
* timezone: Add missing zoneinfo entriesAlexander Dahl2018-06-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: these are somehow redundant as many other entries are, too. Poland → Europe/Warsaw Portugal → Europe/Lisbon Turkey → Europe/Istanbul However, we already have e.g. Eire → Europe/Dublin Egypt → Africa/Cairo … As far as I can tell, tz uses hardlinks here. (Debian does some magic in its 'tzdata' package to convert those hardlinks into symlinks.) So to be consistent we could also introduce some magic and look for duplicates where tz considers one zone as link to another or for simplifying things we could just add everything. This patch takes the second approach. Note: if the user selects e.g. 'Poland' and 'Europe/Warsaw' that would waste space on the target, because the same file is copied twice without symbolic or hard link. Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: Order entriesAlexander Dahl2018-06-261-38/+38
| | | | | | | | This will make it easier in the future to check for updates and add/remove updated entries. Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: fix license informationJuergen Borleis2017-12-081-2/+0
| | | | | | | Commit 8441b8ad4f3f826c2b95a5a2f1d5d079ed9519dc removes the corresponding label, but this change forgets to remove it here as well. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* timezone: remove legacy '/etc/timezone' fileJuergen Borleis2017-10-011-3/+0
| | | | | | | | | This file and its content is deprecated since '/usr' and its content is mandatory. Thus, the replacement '/etc/localtime' works always and is used and manipulated by the systemd tools. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: always use timezone infos from PTXdist/BSPJuergen Borleis2017-06-161-6/+0
| | | | | | | | This change removes the possibility to use the timezone infos from the toolchain. This feature isn't supported by the PTX provided toolchains anymore for a long time now. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* timezone: remove gone timezone "Mideast"Juergen Borleis2016-08-011-1/+0
| | | | | | | | | This change avoids: cp: cannot stat '[...]/sysroot-host/usr/share/zoneinfo/Mideast': No such file or directory Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: avoid shell error "[: too many arguments'Juergen Borleis2016-08-011-1/+1
| | | | | | | | | | Using it in one string breaks quoting and lets scripts/make_zoneinfo.sh fail with: line 50: [: too many arguments Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: the timezone data is public domainMichael Olbrich2015-10-271-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: collect identical menu entries into oneJuergen Borleis2015-09-171-3/+1
| | | | | | | | 'GMT0', 'GMT-0' and 'GMT+0' use the same entry variable 'TIMEZONE_GMT0'. Collect them into one menu entry instead, as the corresponding rule already does. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* host-tz-database/timezone: add license informationMichael Olbrich2015-02-111-0/+3
| | | | | | | | | | The README file states: "Unless otherwise specified, all files in the tz code and data are in the public domain, so clarified as of 2009-05-17 by Arthur David Olson. The few exceptions are code derived from BSD, which uses the BSD license." Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: rename GLIBC_LOCALTIME and targetinstall only if not emptyAlexander Dahl2012-10-121-3/+3
| | | | | | | | | | | Revised with fresh morning mind. I could not test the migrate stuff, please review! Greets Alex Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: install files with mod 0644Marc Kleine-Budde2012-09-061-1/+1
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: cleanup and remove bogus entryMichael Olbrich2012-07-031-1/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* add /etc/timezone and replace content according to /etc/localtimeAlexander Dahl2012-04-031-2/+8
| | | | | | | | | | | | | | | Additionally to /etc/localtime which points to one zoneinfo file in /usr/share/zoneinfo there is /etc/timezone containing the system wide zone. Debian updates both in parallel and systemd uses this too. It's an easy way to find out about the current system time zone. Rules are extended in a way you only have to put e.g. 'Europe/Berlin' to ptxdist menuconfig and symlink /etc/localtime and file /etc/timezone are created at build time. This patch is a suggestion which works for me, open for discussion. Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [timezone] move timzone data creation to the install stage and remove ↵Michael Olbrich2010-10-271-49/+13
| | | | | | obsolete stages Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [rules] remove obsolete fixup linesMichael Olbrich2010-07-191-3/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [timezone] add new packetBart vdr. Meulen2010-06-021-2/+8
| | | | | | | | | | | | Add an alternative source for the timezone info. This option can be used when using toolchains in which the timezone info is incorrect/does not work or is not available at all The option build's the timezone database from the tzdata source files on the host and installs the selected zoneinfos to the target. Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
* [timezone] remove obsolete clean target & other cleanupsMichael Olbrich2010-01-181-26/+12
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* * .make files: location of ipkg files has changedRobert Schwebel2008-06-031-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8285 33e552b5-05e3-0310-8538-816dae2090ed
* * timezone.make:Marc Kleine-Budde2008-04-141-78/+67
| | | | | | | namespace cleanups git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8002 33e552b5-05e3-0310-8538-816dae2090ed
* added timezone support(thx to Manfred Gruber)Luotao Fu2007-10-161-0/+186
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7404 33e552b5-05e3-0310-8538-816dae2090ed