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 <maxime.hadjinlian@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a449010b9b
commit
d80f1c3025
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user