run_kselftests.sh contains randomly spurious lines starting by "make[1]:".
The way the script is generated is most likely broken.
Until, we've got a proper fix, get rid of the lines after the generated
script is installed.

Signed-off-by: Fathi Boudra <[email protected]>
---
 recipes-kernel/kselftests/kselftests_4.9.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-kernel/kselftests/kselftests_4.9.bb 
b/recipes-kernel/kselftests/kselftests_4.9.bb
index 39188b01..9d3f1d73 100644
--- a/recipes-kernel/kselftests/kselftests_4.9.bb
+++ b/recipes-kernel/kselftests/kselftests_4.9.bb
@@ -72,6 +72,8 @@ do_compile () {
 do_install () {
        oe_runmake install
        chown -R root:root ${D}
+       # fixup run_kselftest.sh due to spurious lines starting by "make[1]:"
+       sed -i '/^make/d' ${D}${bindir}/kselftests/run_kselftest.sh
 }
 
 PACKAGE_BEFORE_PN = " \
-- 
2.11.0

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to