summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorYang Xu <yang.xu@mediatek.com>2023-09-06 11:03:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-07 07:53:51 +0100
commit392c1ffd69bb8ca5dd50723f23808cf6b96320f5 (patch)
tree2de14dae3b9cb21a1b0d30cd84ba26856c4230d7 /meta/recipes-devtools
parenteab2b3f6b6a876b7e115328414fbefd5ab6f9068 (diff)
downloadpoky-392c1ffd69bb8ca5dd50723f23808cf6b96320f5.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/meson/meson_1.1.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/meson/meson_1.1.1.bb b/meta/recipes-devtools/meson/meson_1.1.1.bb
index 500e13775f..dd97f93aef 100644
--- a/meta/recipes-devtools/meson/meson_1.1.1.bb
+++ b/meta/recipes-devtools/meson/meson_1.1.1.bb
@@ -30,7 +30,7 @@ do_install:append () {
30 # Upstream is discussing ways to solve the issue properly, until then let's 30 # Upstream is discussing ways to solve the issue properly, until then let's
31 # just not install the problematic files. 31 # just not install the problematic files.
32 # More info: http://benno.id.au/blog/2013/01/15/python-determinism 32 # More info: http://benno.id.au/blog/2013/01/15/python-determinism
33 rm ${D}${libdir}/python*/site-packages/mesonbuild/dependencies/__pycache__/mpi.cpython* 33 rm -f ${D}${libdir}/python*/site-packages/mesonbuild/dependencies/__pycache__/mpi.cpython*
34} 34}
35 35
36BBCLASSEXTEND = "native nativesdk" 36BBCLASSEXTEND = "native nativesdk"