summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tzdata
Commit message (Collapse)AuthorAgeFilesLines
* tzdata: Simplify code removing not used casesOtavio Salvador2013-03-011-27/+9
| | | | | | | | | | | | | | | | | | | | We shouldn't have an use-case where we'd use 'FUBAR' timezone so instead of adding postinst handling for this use case we handle it at install time and keep the Universal as fallback if user did something wrong. This also ensure the /etc/localtime file is kept as a symbolic link. This will make timezone not available when /usr is in separated partition (and not mounted) however the applications ought to fallback to GMT timezone in this case and when /usr is made availble timezone will work fine. Change-Id: I9a4f05db7a0bdc06511deb5693d1d16569d2fc63 (From OE-Core rev: 77fed2c773d7d98f88d6e8a2f4a8617b9e8b8a62) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: We shouldn't override the localtime if it is validOtavio Salvador2013-03-011-6/+6
| | | | | | | | | | | | | The code where mistakenly replacing the localtime file setting so we end with a copy of file instead of a symbolic link. This fixes it so now, we'll only do that in case the link is pointing to invalid data. Change-Id: I16dfa5ea4f293c48bb396f4e23a2ea53e6c9e745 (From OE-Core rev: 9e7980a88e1604b21138d1999a04e471e07edfe3) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: install /etc/localtime alongside /etc/timezoneRoss Burton2012-09-021-1/+2
| | | | | | | | | | | | | | | | | Lots of code (such a GLib) expects this to exist and link to the current timezone definition. /etc/localtime is a symlink instead of a copy of hard link to make it obvious what timezone data it's pointing at. For systems with /etc on a separate filesystem to /usr this will result in a dangling symlink until /usr is mounted, but as this is early boot the assumption is that anything checking it will handle that case and fallback to UTC. (From OE-Core rev: efe305c275f288e248655f3a8b266f86c9893f73) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: this package isn't architecture specificRoss Burton2012-08-301-1/+3
| | | | | | | | | | | The data files are compiled to a binary but architecture-independent format, so this package can be allarch. (From OE-Core rev: 23bf856215fa7c34a71d6086ee355f7c0672dbab) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: Upgrade tzdata to upstream 2012dRadu Moisan2012-08-021-4/+4
| | | | | | | (From OE-Core rev: 89012452873181c0ad801022ec3b4851715a2e0a) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata, matchbox-session, mini-x-session: replace RCONFLICTS with RCONFLICTS_Martin Jansa2012-06-181-2/+2
| | | | | | | (From OE-Core rev: 8f4e7dfd8b60a10411261666b4da2b4aff1c4231) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: upgrade to 2012cLaurentiu Palcu2012-06-111-3/+3
| | | | | | | | | | | Other changes: - the licence header shifted one line down, hence the start/end lines used to compute the MD5 sum were incremented by 1; (From OE-Core rev: 2f1daa8e25bfc72d1fd75788a8e70b193accc0cb) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: upgrade to 2012bShane Wang2012-03-211-3/+3
| | | | | | | (From OE-Core rev: fe25af6ba39a0bf0227d5c3977a74ee0329dc95e) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata_2011n: provide pkg_postinst and timezone defaultsAndrea Adami2012-02-011-4/+58
| | | | | | | | | | | | | | * Introduce DEFAULT_TIMEZONE variable ('Universal', present in base package) * and add /etc/timezone during do_install. * While there, fix hardcoded references to $exec_prefix (/usr). * Add the pkg_postinst script (adapted from Gentoo). * Create /etc/localtime during postinst. * Bump PR (From OE-Core rev: 5304ce429f2c05857f04fbe3b47a067983ca96be) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata/tzcode: Update tzdata to 2011nSaul Wold2011-11-291-3/+3
| | | | | | | (From OE-Core rev: 8b7643c5c06c1b1531e55a49cd69502b146a92bd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: updated SRC_URI and update to 2011kJoshua Lock2011-10-201-3/+3
| | | | | | | | | tzdata is now hosted by IANA at http://www.iana.org/time-zones (From OE-Core rev: c4b45581be510015e4def579d80e03fdf1c3ded0) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: Update to 2011kSaul Wold2011-10-071-2/+2
| | | | | | | (From OE-Core rev: 6b77b75ec8552c5e7aa90f81e7b272f24df31058) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode: Update to 2011iSaul Wold2011-09-021-2/+2
| | | | | | | (From OE-Core rev: 2c0c78fc777a7dbe098f2518ecbaf24d03227f5d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode,tzdata: Update tzdata to 2011hKhem Raj2011-07-201-4/+4
| | | | | | | (From OE-Core rev: d3a2a48632c05bd203c0509df6a73b9b4d1eb7f2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: Ensure all files are owned by root:rootMark Hatle2011-06-231-2/+2
| | | | | | | (From OE-Core rev: 2a7f9848d5682836ef1313239f47adf773db2268) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: update to 2011gSaul Wold2011-06-011-2/+2
| | | | | | | (From OE-Core rev: 40fbb3b69f2630e127f520fabfe35d9d744bed4e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie2011-02-221-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tzdata: upgrade to version 2010oQing He2010-11-141-1/+1
| | | | | | from 2010j Signed-off-by: Qing He <qing.he@intel.com>
* tzdata: install zone.tab and iso1366.tabZhai Edwin2010-10-131-1/+7
| | | | | | | | | | | | These files are removed in libc-package.bbclass. Missing of zone.tab cause get_zone_directory in libical return NULL for strlen, which leads seg fault of dates & tasks. Openembedded has similar patch. [BUGID #420] got fixed by this. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-011-0/+160
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>