mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01:00
system-config-printer: Remove pyc files
The pyc files contain references to TMPDIR and they can be regenerated during execution on device Fixes stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/__init__.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/installdriver.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/ppds.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/xmldriverprefs.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/config.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/cupshelpers.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/openprinting.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
faffa1906d
commit
9ff6cce43f
|
|
@ -26,12 +26,7 @@ do_install:append() {
|
|||
cp -rf ${B}/cupshelpers.egg-info ${D}${PYTHON_SITEPACKAGES_DIR}
|
||||
cp -rf ${B}/cupshelpers ${D}${PYTHON_SITEPACKAGES_DIR}
|
||||
rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/*.egg
|
||||
for f in __init__.cpython-311.pyc cupshelpers.cpython-311.pyc \
|
||||
config.cpython-311.pyc ppds.cpython-311.pyc \
|
||||
installdriver.cpython-311.pyc openprinting.cpython-311.pyc \
|
||||
xmldriverprefs.cpython-311.pyc; do
|
||||
rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/cupshelpers/__pycache__/$f
|
||||
done
|
||||
rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/cupshelpers/__pycache__
|
||||
}
|
||||
|
||||
FILES:${PN} += "${libdir} ${datadir}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user