mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 20:59:19 +00: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:
parent
eab2b3f6b6
commit
392c1ffd69
@ -30,7 +30,7 @@ do_install:append () {
|
||||
# Upstream is discussing ways to solve the issue properly, until then let's
|
||||
# just not install the problematic files.
|
||||
# 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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user