The python3-license-expression ptest is failing because it requires the
contents of the src/ directory from the repo/tarball. Copy this content
to the image when installing the ptest so that it has what it needs.

Signed-off-by: Trevor Gamblin <trevor.gamb...@windriver.com>
---
 .../python/python3-license-expression_21.6.14.bb            | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb 
b/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb
index 2ed5d9170..efa885441 100644
--- a/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb
+++ b/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb
@@ -28,6 +28,8 @@ RDEPENDS:${PN}-ptest += " \
 "
 
 do_install_ptest() {
-       install -d ${D}${PTEST_PATH}/tests
-       cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+    install -d ${D}${PTEST_PATH}/tests
+    install -d ${D}${PTEST_PATH}/src
+    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+    cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/
 }
-- 
2.31.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92763): 
https://lists.openembedded.org/g/openembedded-devel/message/92763
Mute This Topic: https://lists.openembedded.org/mt/85163488/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to