package/tzdata: drop obosolete, legacy zic option -y

The following commits:
  - 7868289fd5 package/zic: bump version to 2020f
  - c99374ecbb package/tzdata: bump version to 2020f

bumped the tzdata from version 2020a to 2020f. However, in 2020b, the
zic option '-y' was removed, and so was the yearistype.sh script [0].

This now spews annoying warnings:

    warning: -y ignored

Fortunately, it still consumes its argument, so the missing yearistype.sh
is simply ignored.

Drop that option.

[0] https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
This commit is contained in:
Yann E. MORIN 2021-01-10 19:19:49 +01:00
parent c99374ecbb
commit 7f78eef767

View File

@ -51,8 +51,8 @@ endef
define HOST_TZDATA_BUILD_CMDS
(cd $(@D); \
for zone in $(TZDATA_ZONELIST); do \
$(ZIC) -d _output/posix -y yearistype.sh $$zone || exit 1; \
$(ZIC) -d _output/right -L leapseconds -y yearistype.sh $$zone || exit 1; \
$(ZIC) -d _output/posix $$zone || exit 1; \
$(ZIC) -d _output/right -L leapseconds $$zone || exit 1; \
done; \
)
endef