From: Simone Weiß <simone.p.we...@posteo.com> Additionally build and package tzdata.zi info file, as e.g. Systemd expects it to be present.
[YOCTO #15172] Signed-off-by: Simone Weiß <simone.p.we...@posteo.com> Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> (cherry picked from commit a57c7062c9b70361486898974beba4682cf4a76d) Signed-off-by: Steve Sakoman <st...@sakoman.com> --- meta/recipes-extended/timezone/tzdata.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-extended/timezone/tzdata.bb b/meta/recipes-extended/timezone/tzdata.bb index dd1960ffa7..2099b05db8 100644 --- a/meta/recipes-extended/timezone/tzdata.bb +++ b/meta/recipes-extended/timezone/tzdata.bb @@ -20,6 +20,7 @@ do_configure[cleandirs] = "${B}" B = "${WORKDIR}/build" do_compile() { + oe_runmake -C ${S} tzdata.zi for zone in ${TZONES}; do ${STAGING_BINDIR_NATIVE}/zic -b ${ZIC_FMT} -d ${B}/zoneinfo -L /dev/null ${S}/${zone} ${STAGING_BINDIR_NATIVE}/zic -b ${ZIC_FMT} -d ${B}/zoneinfo/posix -L /dev/null ${S}/${zone} @@ -37,6 +38,7 @@ do_install() { cp -pP "${S}/iso3166.tab" ${D}${datadir}/zoneinfo cp -pP "${S}/leapseconds" ${D}${datadir}/zoneinfo cp -pP "${S}/leap-seconds.list" ${D}${datadir}/zoneinfo + cp -pP "${S}/tzdata.zi" ${D}${datadir}/zoneinfo # Install default timezone if [ -e ${D}${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ]; then @@ -141,6 +143,7 @@ FILES:tzdata-core += " \ ${sysconfdir}/timezone \ ${datadir}/zoneinfo/leapseconds \ ${datadir}/zoneinfo/leap-seconds.list \ + ${datadir}/zoneinfo/tzdata.zi \ ${datadir}/zoneinfo/Pacific/Honolulu \ ${datadir}/zoneinfo/America/Anchorage \ ${datadir}/zoneinfo/America/Los_Angeles \ -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#202357): https://lists.openembedded.org/g/openembedded-core/message/202357 Mute This Topic: https://lists.openembedded.org/mt/107504036/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-