system-config-printer: fix runtime for system-config-printer

https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=76e0113299bb65b840b2dd1409e31c67cc66d4b5
breaks runtime for system-config-printer, as it changes the way the cupshelpers module is installed and thus
prevents system-config-printer from finding it.

Install the module in a way it  can be found.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2024-01-28 14:45:07 +01:00 committed by Khem Raj
parent dea8afa45e
commit ede8aef105
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -23,6 +23,9 @@ do_configure:prepend() {
}
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 \