diff mbox series

[meta-networking] system-config-printer: fix runtime for system-config-printer

Message ID 20240128134507.99009-1-f_l_k@t-online.de
State Accepted
Headers show
Series [meta-networking] system-config-printer: fix runtime for system-config-printer | expand

Commit Message

Markus Volk Jan. 28, 2024, 1:45 p.m. UTC
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>
---
 .../system-config-printer/system-config-printer_1.5.18.bb      | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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 cee907884..bff16b441 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
@@ -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 \