[OE-core] [PATCH] tzdata: Add tzdata-all package

Paul Barker paul at betafive.co.uk
Mon Mar 18 17:10:04 UTC 2019


On Mon, 18 Mar 2019, at 17:02, Burton, Ross wrote:
> 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.

That is a good argument. I just checked the difference in image sizes though (from buildhistory):

core-image-minimal + tzdata = 8,868 kB
core-image-minimal + tzdata-all = 15,788 kB

So it's probably not an appropriate change for everyone.

> 
> 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
>

-- 
Paul Barker
Managing Director & Principal Engineer
Beta Five Ltd


More information about the Openembedded-core mailing list