[meta-ti] [morty][PATCH] kselftests: fix up run_kselftest.sh due to spurious lines

Fathi Boudra fathi.boudra at linaro.org
Mon Mar 20 11:23:25 PDT 2017


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 <fathi.boudra at linaro.org>
---
 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



More information about the meta-ti mailing list