summaryrefslogtreecommitdiffstats
path: root/package/tz
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-05-04 18:01:28 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-05-04 23:03:15 +0200
commit70c36464d1f149211ccfa43f40aa27ccca3d77ea (patch)
treef3e166e01055ec8c480104a31ade97bb4636d18b /package/tz
parentd80f1c30252c5aba3adc6c8232bbbdeb7fd5c03f (diff)
downloadbuildroot-70c36464d1f149211ccfa43f40aa27ccca3d77ea.tar.gz
buildroot-70c36464d1f149211ccfa43f40aa27ccca3d77ea.zip
package/tz: install missing files
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> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/tz')
-rw-r--r--package/tz/tz.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/tz/tz.mk b/package/tz/tz.mk
index a762acd0b0..865ba3bb9c 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 \
OpenPOWER on IntegriCloud