mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c39e671293
commit
7c7b22cd5d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user