summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/timezone/tzdata.bb
AgeCommit message (Collapse)Author
2023-03-14tzdata: use separate B instead of WORKDIR for zic outputMartin Jansa
* avoid copying whole exec_prefix over base_prefix as there were only zoneinfo files anyway (From OE-Core rev: 37846f8735683ed0fab5ef5c12d77c6041348801) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14timezone: use 'tz' subdir instead of ${WORKDIR} directlyMartin Jansa
(From OE-Core rev: bc53ccaf82c57826acac5f9c2557e403ec367807) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22tzdata: Remove no longer relevant RCONFLICTS:${PN}Peter Kjellerstedt
Remove RCONFLICTS:${PN} for the packages from the timezones recipe, which was replaced by tzdata in OE-Classic in 2007... Also remove a commented timezone (pacificnew), which has actually never been added to TZONES. (From OE-Core rev: 24c1b8346a2ab8bdea2e140282e33814166d9113) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20tzdata: Clean upPeter Kjellerstedt
* Whitespace and indentation clean up. * Change shell variables from "${foo}" to "$foo". * Remove "/*" from directories specified in FILES. * Move RCONFLICTS:${PN} to the end of the recipe. (From OE-Core rev: a698cc12ac2d5b26b2415e3d14739d3f51b89dd1) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20tzdata: Remove unnecessary RPROVIDESPeter Kjellerstedt
The name of the package is provided automatically. (From OE-Core rev: 1416070079960e7ad82183d8cd1b8da5748e6646) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20tzdata: Make it compatible with devtool modifyPeter Kjellerstedt
This avoids the following build error after having run `devtool modify tzdata`: cp: cannot stat '.../qemux86-64/workspace/sources/tzdata//usr': No such file or directory (From OE-Core rev: 3c64d964089f2909d5dc7d94cd449ad068d04caf) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07tzdata: Allow controlling zoneinfo binary formatZoltán Böszörményi
tzcode 2020b changed the default format from "-b fat" to "-b slim". Allow external control for the binary format. (From OE-Core rev: c9e8b716eb71d4526517825eacefb91ab2c1781c) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09timezone: update to 2020bArmin Kuster
For more info see: https://github.com/eggert/tz/blob/master/NEWS (From OE-Core rev: b19bc7ae71a59673bd725e1de3251667c2026ed5) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02timezone: include leap second data in tzdata-corePeter A. Bigot
Conversion between UTC and continuous time scales like TAI requires information about leap seconds. (From OE-Core rev: ce8f6f139a82eeb20cc7cb9f7950b42684775ed8) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24tzdata: remove exit 0 from pkg_postinstMaxime Roussin-B?langer
Documentation says that if you exit 0 in a pkg_postinst it will marked as installed. If you exit 0, before running postinst-intercepts defer_to_first_boot, the pkg_postinst_ontarget script will not be present on target. The "exit 0" in tzdata makes it difficult to have a bbappend with a pkg_postinst_target step when you have `INSTALL_TIMEZONE_FILE = 0` (From OE-Core rev: 338a67951c375d907b36b87d4115ee5489df722e) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-19tzdata: Correct the packaging of /etc/localtime and /etc/timezonePeter Kjellerstedt
During restructuring of the packaging in 2af4d6eb (tzdata: Install everything by default), these two files remained in the tzdata package, which is supposed to be empty. Move them to tzdata-core where they belong. Also simplify the definition of CONFFILES_tzdata-core. As its value only takes effect for files that actually exist, there is no need to complicate its definition by checking if a file is created before adding it to the list of configuration files. (From OE-Core rev: 3d2d31fed64169f08c0ecfce4c07b8c7ebd052d2) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03tzdata: Install everything by defaultPaul Barker
tzdata is converted to an empty meta package which pulls in all subpackages. The subpackages are defined in a TZ_PACKAGES variable so that we don't have to repeat ourselves. The timezones and conffiles which were in the tzdata package are moved to a new 'tzdata-core' package. (From OE-Core rev: 2af4d6eb2526d60b26bc5128068541ff3350fb58) Signed-off-by: Paul Barker <paul@betafive.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-05timezone: refactor to simplify maintArmin Kuster
move tzcode and tzdata-native into new dir Updates are now limited to the common include file. [v2] Fix UMMARY typ0 in timezone.inc (From OE-Core rev: 60c30127df63b75d70a61d90c9f9afe0f938dc71) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>