mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
meson: don't fail if no .pyc exists
If PYTHONDONTWRITEBYTECODE set to 1, do_install:append will fail because no .pyc is removed. Add -f flag to prevent command fail. (From OE-Core rev: 2073b6f14f39c71199c07a1ba181b67984421a10) Signed-off-by: Yang Xu <yang.xu@mediatek.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -30,7 +30,7 @@ do_install:append () {
|
|||||||
# Upstream is discussing ways to solve the issue properly, until then let's
|
# Upstream is discussing ways to solve the issue properly, until then let's
|
||||||
# just not install the problematic files.
|
# just not install the problematic files.
|
||||||
# More info: http://benno.id.au/blog/2013/01/15/python-determinism
|
# More info: http://benno.id.au/blog/2013/01/15/python-determinism
|
||||||
rm ${D}${libdir}/python*/site-packages/mesonbuild/dependencies/__pycache__/mpi.cpython*
|
rm -f ${D}${libdir}/python*/site-packages/mesonbuild/dependencies/__pycache__/mpi.cpython*
|
||||||
}
|
}
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user