]> code.ossystems Code Review - openembedded-core.git/commit
tzdata_2011n: provide pkg_postinst and timezone defaults
authorAndrea Adami <andrea.adami@gmail.com>
Sat, 28 Jan 2012 07:57:57 +0000 (08:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Feb 2012 14:58:45 +0000 (14:58 +0000)
commit5304ce429f2c05857f04fbe3b47a067983ca96be
treef2c9950a4b72845a9a085f256a8de636827aec5c
parent1fdcd32520a05465b0d54c062f28bac9cdf74a20
tzdata_2011n: provide pkg_postinst and timezone defaults

* 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

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
meta/recipes-extended/tzdata/tzdata_2011n.bb