summaryrefslogtreecommitdiffstats
path: root/rules/timezone.in
Commit message (Collapse)AuthorAgeFilesLines
* timezone: Change default to empty stringAlexander Dahl2018-10-291-2/+3
| | | | | | | | | | Defaulting to any valid timezone would require that to be selected. Instead of mandatory selecting a timezone we leave this empty now and make the help text more clear. Suggested-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: Add missing zoneinfo entriesAlexander Dahl2018-06-261-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-108/+108
| | | | | | | | 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: Cleanup timezone file removalAlexander Dahl2018-06-261-4/+2
| | | | | | | | | The targetinstall of the file was removed ptxdist 2017.10.0, but not the file itself. Also the help text in menu was not updated. Fixes: 3ee522b06e41b3b4da9490b06859a62a23fca18e Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: Remove menu entry 'Mideast'Alexander Dahl2018-06-261-4/+0
| | | | | | | | | In ptxdist 2016.08.0 only the line in timezone.make causing trouble was removed. Fixes: 76060f6d5f11009fbb964acfa1c504e6b4df376a Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* timezone: always use timezone infos from PTXdist/BSPJuergen Borleis2017-06-161-9/+1
| | | | | | | | 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: collect identical menu entries into oneJuergen Borleis2015-09-171-9/+3
| | | | | | | | '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>
* Timezone: remove outdated commentJuergen Borleis2015-09-171-3/+0
| | | | | | | | | | The comment is from 2007 when the packages was added and marked as broken. It had some fixes in 2008 and was commented out when the BROKEN dependency was removed in 2010. Time to remove it entirely. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* timezone: rename GLIBC_LOCALTIME and targetinstall only if not emptyAlexander Dahl2012-10-121-2/+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: cleanup and remove bogus entryMichael Olbrich2012-07-031-61/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* add /etc/timezone and replace content according to /etc/localtimeAlexander Dahl2012-04-031-5/+7
| | | | | | | | | | | | | | | 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>
* host-tz-database: fix <pkg> / <PKG> naming mismatchMichael Olbrich2011-11-081-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [timezone] add new packetBart vdr. Meulen2010-06-021-3/+12
| | | | | | | | | | | | 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>
* * menu: cleanup and more migration to generated .in filesRobert Schwebel2008-12-211-0/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9296 33e552b5-05e3-0310-8538-816dae2090ed
* * t*..z*.in: turn bool into tristate for package selectionsJochen Frieling2008-06-041-2/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8310 33e552b5-05e3-0310-8538-816dae2090ed
* * timezones: typo fixedRobert Schwebel2008-02-121-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7744 33e552b5-05e3-0310-8538-816dae2090ed
* * help texts t..w rounded off, some fixesJochen Frieling2007-10-191-2/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7542 33e552b5-05e3-0310-8538-816dae2090ed
* added timezone support(thx to Manfred Gruber)Luotao Fu2007-10-161-0/+309
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7404 33e552b5-05e3-0310-8538-816dae2090ed