diff options
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux.inc')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index c7ba8c446f..34255a2dec 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -284,6 +284,7 @@ ALTERNATIVE_LINK_NAME[wall.1] = "${mandir}/man1/wall.1" | |||
284 | 284 | ||
285 | BBCLASSEXTEND = "native nativesdk" | 285 | BBCLASSEXTEND = "native nativesdk" |
286 | 286 | ||
287 | PTEST_BINDIR = "1" | ||
287 | do_compile_ptest() { | 288 | do_compile_ptest() { |
288 | oe_runmake buildtest-TESTS | 289 | oe_runmake buildtest-TESTS |
289 | } | 290 | } |
@@ -312,8 +313,8 @@ do_install_ptest() { | |||
312 | '/^\tif[[:space:]]\[[[:space:]]![[:space:]]-x[[:space:]]"$1"/s|$1|`which $1 2>/dev/null`|g' \ | 313 | '/^\tif[[:space:]]\[[[:space:]]![[:space:]]-x[[:space:]]"$1"/s|$1|`which $1 2>/dev/null`|g' \ |
313 | ${D}${PTEST_PATH}/tests/functions.sh | 314 | ${D}${PTEST_PATH}/tests/functions.sh |
314 | 315 | ||
315 | # "kill -L" behaves differently than "/bin/kill -L" so we need an additional fix | 316 | # Running "kill" without the the complete path would use the shell's built-in kill |
316 | sed -i -e \ | 317 | sed -i -e \ |
317 | '/^TS_CMD_KILL/ s|kill|/bin/kill|g' \ | 318 | '/^TS_CMD_KILL/ s|kill|${PTEST_PATH}/bin/kill|g' \ |
318 | ${D}${PTEST_PATH}/tests/commands.sh | 319 | ${D}${PTEST_PATH}/tests/commands.sh |
319 | } | 320 | } |