summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2021-12-15 16:20:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-20 15:29:01 +0000
commit7c7b22cd5db8524c9c380824bd0b569200aee4ab (patch)
treee68cc467bc08036036d8a6da1aaa5905c4f8ec4b
parentc39e6712939948365b49c2c61fa8e72eff198479 (diff)
downloadpoky-7c7b22cd5db8524c9c380824bd0b569200aee4ab.tar.gz
tzdata: Make it compatible with devtool modify
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 (From OE-Core rev: 3c64d964089f2909d5dc7d94cd449ad068d04caf) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/timezone/tzdata.bb4
1 files 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 () {
35} 35}
36 36
37do_install () { 37do_install () {
38 install -d ${D}/$exec_prefix ${D}${datadir}/zoneinfo 38 install -d ${D}$exec_prefix ${D}${datadir}/zoneinfo
39 cp -pPR ${S}/$exec_prefix ${D}/ 39 cp -pPR ${WORKDIR}$exec_prefix ${D}${base_prefix}
40 # libc is removing zoneinfo files from package 40 # libc is removing zoneinfo files from package
41 cp -pP "${S}/zone.tab" ${D}${datadir}/zoneinfo 41 cp -pP "${S}/zone.tab" ${D}${datadir}/zoneinfo
42 cp -pP "${S}/zone1970.tab" ${D}${datadir}/zoneinfo 42 cp -pP "${S}/zone1970.tab" ${D}${datadir}/zoneinfo