kselftests: fix up run_kselftest.sh due to spurious lines

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@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Fathi Boudra authored and Denys Dmytriyenko committed 2017-03-20 16:42:37 -04:00
1 parent c42f1c0891
commit dbf9269bea
1 file changed
+2
@@ -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 = " \