[OE-core] [PATCH] tzdata: Add tzdata-all package
Burton, Ross
ross.burton at intel.com
Mon Mar 18 17:01:57 UTC 2019
I'd prefer that installing 'tzdata' installed everything, and then
there were other pieces for subsets. We learnt this the hard way from
people installing "python" and wondering why bits of the standard
library were missing.
Ross
On Mon, 18 Mar 2019 at 17:01, Paul Barker <paul at betafive.co.uk> wrote:
>
> The tzdata-all package provides a simple way of ensuring all timezones
> are supported in an image.
>
> Signed-off-by: Paul Barker <paul at betafive.co.uk>
> ---
> meta/recipes-extended/timezone/tzdata.bb | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/timezone/tzdata.bb b/meta/recipes-extended/timezone/tzdata.bb
> index 7542ce52d2..e419296530 100644
> --- a/meta/recipes-extended/timezone/tzdata.bb
> +++ b/meta/recipes-extended/timezone/tzdata.bb
> @@ -82,7 +82,14 @@ pkg_postinst_${PN} () {
>
> PACKAGES = "tzdata tzdata-misc tzdata-posix tzdata-right tzdata-africa \
> tzdata-americas tzdata-antarctica tzdata-arctic tzdata-asia \
> - tzdata-atlantic tzdata-australia tzdata-europe tzdata-pacific"
> + tzdata-atlantic tzdata-australia tzdata-europe tzdata-pacific tzdata-all"
> +
> +ALLOW_EMPTY_tzdata-all = "1"
> +RDEPENDS_tzdata-all = " \
> + tzdata tzdata-misc tzdata-posix tzdata-right tzdata-africa \
> + tzdata-americas tzdata-antarctica tzdata-arctic tzdata-asia \
> + tzdata-atlantic tzdata-australia tzdata-europe tzdata-pacific \
> + "
>
> FILES_tzdata-africa += "${datadir}/zoneinfo/Africa/*"
> RPROVIDES_tzdata-africa = "tzdata-africa"
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list