diff mbox

[2/2] package/tz: install missing files

Message ID c976aa8f37ac787ecec903272d8c5fed7a75b833.1399219226.git.yann.morin.1998@free.fr
State Accepted
Headers show

Commit Message

Yann E. MORIN May 4, 2014, 4:01 p.m. UTC
From: "Yann E. MORIN" <yann.morin.1998@free.fr>

As for the tzdata package, install the missing files:
  - zone.tab   : {country-code,coordinates,timezone} tuples
  - iso3166.tab: {country-code,country} tuples

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

Comments

Peter Korsgaard May 4, 2014, 9:04 p.m. UTC | #1
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > From: "Yann E. MORIN" <yann.morin.1998@free.fr>
 > As for the tzdata package, install the missing files:
 >   - zone.tab   : {country-code,coordinates,timezone} tuples
 >   - iso3166.tab: {country-code,country} tuples

 > Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Committed, thanks.
diff mbox

Patch

diff --git a/package/tz/tz.mk b/package/tz/tz.mk
index a762acd..865ba3b 100644
--- a/package/tz/tz.mk
+++ b/package/tz/tz.mk
@@ -20,6 +20,10 @@  define TZ_BUILD_CMDS
 endef
 
 define TZ_INSTALL_TARGET_CMDS
+	$(INSTALL) -D -m 0644 $(HOST_DIR)/usr/share/zoneinfo/zone.tab \
+			      $(TARGET_DIR)/usr/share/zoneinfo/zone.tab
+	$(INSTALL) -D -m 0644 $(HOST_DIR)/usr/share/zoneinfo/iso3166.tab \
+			      $(TARGET_DIR)/usr/share/zoneinfo/iso3166.tab
 	mkdir -p $(TARGET_DIR)/usr/share/zoneinfo/uclibc
 	cp -a $(@D)/output/* $(TARGET_DIR)/usr/share/zoneinfo/uclibc
 	if [ -n "$(TZ_LOCALTIME)" ]; then                               \