From: Yann E. MORIN Date: Sun, 4 May 2014 16:01:27 +0000 (+0200) Subject: package/tzdata: install missing files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d80f1c30252c5aba3adc6c8232bbbdeb7fd5c03f;p=buildroot.git package/tzdata: install missing files Install two additional files: - zone.tab : {country-code,coordinates,timezone} tuples - iso3166.tab: {country-code,country} tuples [Peter: simplify copy handling] Reported-by: Maxime Hadjinlian Signed-off-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- diff --git a/package/tzdata/tzdata.mk b/package/tzdata/tzdata.mk index 05a82a23d4..a498d10c35 100644 --- a/package/tzdata/tzdata.mk +++ b/package/tzdata/tzdata.mk @@ -38,7 +38,7 @@ endef define TZDATA_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/usr/share/zoneinfo - cp -a $(@D)/_output/* $(TARGET_DIR)/usr/share/zoneinfo + cp -a $(@D)/_output/* $(@D)/*.tab $(TARGET_DIR)/usr/share/zoneinfo cd $(TARGET_DIR)/usr/share/zoneinfo; \ for zone in posix/*; do \ ln -sfn "$${zone}" "$${zone##*/}"; \ @@ -66,7 +66,7 @@ endef define HOST_TZDATA_INSTALL_CMDS mkdir -p $(HOST_DIR)/usr/share/zoneinfo - cp -a $(@D)/_output/* $(HOST_DIR)/usr/share/zoneinfo + cp -a $(@D)/_output/* $(@D)/*.tab $(HOST_DIR)/usr/share/zoneinfo endef $(eval $(generic-package))