mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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>
This commit is contained in:
parent
da331ae8f1
commit
b1b7ee87ac
|
|
@ -21,6 +21,15 @@ do_configure:prepend() {
|
|||
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}"
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user