diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-05-28 16:11:10 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-05-28 16:13:02 -0700 |
commit | 9ff6cce43f819640a515a905f8dcbbec00ec10a0 (patch) | |
tree | 69c6ff6614d5b90610394b5c600dd3abf74ce986 | |
parent | faffa1906dd3f88c8dba38875357be3fa006f612 (diff) | |
download | meta-openembedded-9ff6cce43f819640a515a905f8dcbbec00ec10a0.tar.gz |
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>
-rw-r--r-- | meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb b/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb index f9a5e15689..6cd25e346a 100644 --- a/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb +++ b/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb | |||
@@ -26,12 +26,7 @@ do_install:append() { | |||
26 | cp -rf ${B}/cupshelpers.egg-info ${D}${PYTHON_SITEPACKAGES_DIR} | 26 | cp -rf ${B}/cupshelpers.egg-info ${D}${PYTHON_SITEPACKAGES_DIR} |
27 | cp -rf ${B}/cupshelpers ${D}${PYTHON_SITEPACKAGES_DIR} | 27 | cp -rf ${B}/cupshelpers ${D}${PYTHON_SITEPACKAGES_DIR} |
28 | rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/*.egg | 28 | rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/*.egg |
29 | for f in __init__.cpython-311.pyc cupshelpers.cpython-311.pyc \ | 29 | rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/cupshelpers/__pycache__ |
30 | config.cpython-311.pyc ppds.cpython-311.pyc \ | ||
31 | installdriver.cpython-311.pyc openprinting.cpython-311.pyc \ | ||
32 | xmldriverprefs.cpython-311.pyc; do | ||
33 | rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/cupshelpers/__pycache__/$f | ||
34 | done | ||
35 | } | 30 | } |
36 | 31 | ||
37 | FILES:${PN} += "${libdir} ${datadir}" | 32 | FILES:${PN} += "${libdir} ${datadir}" |