summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/coreutils/coreutils_9.6.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_9.6.bb b/meta/recipes-core/coreutils/coreutils_9.6.bb
index 6e1867f3e4..3eb0c6fd1b 100644
--- a/meta/recipes-core/coreutils/coreutils_9.6.bb
+++ b/meta/recipes-core/coreutils/coreutils_9.6.bb
@@ -211,7 +211,14 @@ do_install_ptest () {
211 211
212 # Tweak test d_type-check to use python3 instead of python 212 # Tweak test d_type-check to use python3 instead of python
213 sed -i "1s@.*@#!/usr/bin/python3@" ${D}${PTEST_PATH}/tests/d_type-check 213 sed -i "1s@.*@#!/usr/bin/python3@" ${D}${PTEST_PATH}/tests/d_type-check
214 214
215 # Fix for single-binary
216 for prog in ${D}${PTEST_PATH}/src/*; do
217 if [ -f $prog ]; then
218 sed -i "1s@#!.*/src/coreutils @#!${bindir}/coreutils @" $prog
219 fi
220 done
221
215 # handle multilib 222 # handle multilib
216 sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest 223 sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
217} 224}