This avoids the following build error after having run `devtool modify tzdata`:
cp: cannot stat '.../qemux86-64/workspace/sources/tzdata//usr': No such file or directory Signed-off-by: Peter Kjellerstedt <[email protected]> --- PATCHv2: No changes. meta/recipes-extended/timezone/tzdata.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/timezone/tzdata.bb b/meta/recipes-extended/timezone/tzdata.bb index c2b019922a..09cb14a855 100644 --- a/meta/recipes-extended/timezone/tzdata.bb +++ b/meta/recipes-extended/timezone/tzdata.bb @@ -35,8 +35,8 @@ do_compile () { } do_install () { - install -d ${D}/$exec_prefix ${D}${datadir}/zoneinfo - cp -pPR ${S}/$exec_prefix ${D}/ + install -d ${D}$exec_prefix ${D}${datadir}/zoneinfo + cp -pPR ${WORKDIR}$exec_prefix ${D}${base_prefix} # libc is removing zoneinfo files from package cp -pP "${S}/zone.tab" ${D}${datadir}/zoneinfo cp -pP "${S}/zone1970.tab" ${D}${datadir}/zoneinfo
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#159814): https://lists.openembedded.org/g/openembedded-core/message/159814 Mute This Topic: https://lists.openembedded.org/mt/87781811/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
