From c4a6d4bfb34a2dd9c50859d5b8bd9c6fe227ca81 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 2 Oct 2021 09:47:00 +0100 Subject: python3: Drop broken pyc files The underlying py files are editted so delete the now incorrect pyc files. Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3_3.9.6.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3_3.9.6.bb b/meta/recipes-devtools/python/python3_3.9.6.bb index d09943f891..8a638b142b 100644 --- a/meta/recipes-devtools/python/python3_3.9.6.bb +++ b/meta/recipes-devtools/python/python3_3.9.6.bb @@ -164,6 +164,7 @@ do_install:append() { for c in ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do python3 ${WORKDIR}/reformat_sysconfig.py $c done + rm ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.cpython* mkdir -p ${D}${libdir}/python-sysconfigdata sysconfigfile=`find ${D} -name _sysconfig*.py` -- cgit 1.2.3-korg