[Buildroot] [PATCH 1/2] package/tzdata: install missing files

Peter Korsgaard jacmet at uclibc.org
Sun May 4 21:02:37 UTC 2014


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
 > Install two files:
 >   - zone.tab   : {country-code,coordinates,timezone} tuples
 >   - iso3166.tab: {country-code,country} tuples

 > Reported-by: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
 > ---
 >  package/tzdata/tzdata.mk | 6 ++++--
 >  1 file changed, 4 insertions(+), 2 deletions(-)

 > diff --git a/package/tzdata/tzdata.mk b/package/tzdata/tzdata.mk
 > index 05a82a2..411d424 100644
 > --- a/package/tzdata/tzdata.mk
 > +++ b/package/tzdata/tzdata.mk
 > @@ -37,7 +37,8 @@ define TZDATA_BUILD_CMDS
 >  endef
 
 >  define TZDATA_INSTALL_TARGET_CMDS
 > -	mkdir -p $(TARGET_DIR)/usr/share/zoneinfo
 > +	$(INSTALL) -D -m 0644 $(@D)/zone.tab $(TARGET_DIR)/usr/share/zoneinfo/zone.tab
 > +	$(INSTALL) -D -m 0644 $(@D)/iso3166.tab $(TARGET_DIR)/usr/share/zoneinfo/iso3166.tab
 >  	cp -a $(@D)/_output/* $(TARGET_DIR)/usr/share/zoneinfo

It's imho nicer to just copy it together with the rest, so I've just
added $(@D)/*.tab to the above cp -a line and committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list