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 <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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##*/}"; \
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))