mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
system-config-printer: Delete __pycache__ files
These pyc files include references to buildtime TMPDIR, therefore delete
them and let them be regerated during runtime if needed.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b1b7ee87ac)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
+9
@@ -21,6 +21,15 @@ do_configure:prepend() {
|
|||||||
touch ${S}/ChangeLog
|
touch ${S}/ChangeLog
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install:append() {
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
FILES:${PN} += "${libdir} ${datadir}"
|
FILES:${PN} += "${libdir} ${datadir}"
|
||||||
|
|
||||||
RDEPENDS:${PN} = " \
|
RDEPENDS:${PN} = " \
|
||||||
|
|||||||
Reference in New Issue
Block a user