Add README.md into ptest package

Signed-off-by: Khem Raj <[email protected]>
Cc: Derek Straka <[email protected]>
---
 meta-python/recipes-devtools/python/python3-portion_2.6.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb 
b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
index 8bdbc032cf..2c2e67579e 100644
--- a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
@@ -14,8 +14,8 @@ RDEPENDS:${PN} += "\
 "
 
 do_install_ptest:append () {
-       # This file tests README.md and deleted as redundant.
-       rm -f ${D}/tests/test_doc.py
+       # test_doc.py tests README.md.
+       install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md
 }
 
 BBCLASSEXTEND = "native"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115049): 
https://lists.openembedded.org/g/openembedded-devel/message/115049
Mute This Topic: https://lists.openembedded.org/mt/110785515/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to