Instead of custom constructing the python directory, use PYTHON_DIR for consistency.
Signed-off-by: Zoltán Böszörményi <[email protected]> --- meta/recipes-rt/rt-tests/hwlatdetect_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_git.bb b/meta/recipes-rt/rt-tests/hwlatdetect_git.bb index 2dcc80965a..d37909cd87 100644 --- a/meta/recipes-rt/rt-tests/hwlatdetect_git.bb +++ b/meta/recipes-rt/rt-tests/hwlatdetect_git.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" require rt-tests.inc inherit python3-dir -EXTRA_OEMAKE += "PYLIB=${libdir}/python${PYTHON_BASEVERSION}/dist-packages" +EXTRA_OEMAKE += "PYLIB=${libdir}/${PYTHON_DIR}/dist-packages" do_compile() { oe_runmake hwlatdetect @@ -18,9 +18,9 @@ do_install() { oe_runmake install_hwlatdetect DESTDIR=${D} SBINDIR=${sbindir} \ MANDIR=${mandir} INCLUDEDIR=${includedir} - sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py + sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/${PYTHON_DIR}/dist-packages/hwlatdetect.py } -FILES:${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" +FILES:${PN} += "${libdir}/${PYTHON_DIR}/dist-packages/hwlatdetect.py" RDEPENDS:${PN} = "python3-core " RRECOMMENDS:${PN} = "kernel-module-hwlat-detector" -- 2.53.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#234015): https://lists.openembedded.org/g/openembedded-core/message/234015 Mute This Topic: https://lists.openembedded.org/mt/118519183/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
