diff options
| -rw-r--r-- | meta/recipes-core/busybox/busybox.inc | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index c9d25ff1ca..174ce5a8c0 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc | |||
| @@ -347,24 +347,12 @@ do_install () { | |||
| 347 | fi | 347 | fi |
| 348 | } | 348 | } |
| 349 | 349 | ||
| 350 | PTEST_BINDIR = "1" | ||
| 351 | |||
| 350 | do_install_ptest () { | 352 | do_install_ptest () { |
| 351 | cp -r ${B}/testsuite ${D}${PTEST_PATH}/ | 353 | cp -r ${B}/testsuite ${D}${PTEST_PATH}/ |
| 352 | cp ${B}/.config ${D}${PTEST_PATH}/ | 354 | cp ${B}/.config ${D}${PTEST_PATH}/ |
| 353 | ln -s /bin/busybox ${D}${PTEST_PATH}/busybox | 355 | ln -s /bin/busybox ${D}${PTEST_PATH}/busybox |
| 354 | |||
| 355 | mkdir ${D}${PTEST_PATH}/bin | ||
| 356 | if [ "${BUSYBOX_SPLIT_SUID}" = "1" ]; then | ||
| 357 | while read link; do | ||
| 358 | ln -s ${base_bindir}/busybox.suid ${D}${PTEST_PATH}/bin/$(basename $link) | ||
| 359 | done <${D}${sysconfdir}/busybox.links.suid | ||
| 360 | while read link; do | ||
| 361 | ln -s ${base_bindir}/busybox.nosuid ${D}${PTEST_PATH}/bin/$(basename $link) | ||
| 362 | done <${D}${sysconfdir}/busybox.links.nosuid | ||
| 363 | else | ||
| 364 | while read link; do | ||
| 365 | ln -s ${base_bindir}/busybox ${D}${PTEST_PATH}/bin/$(basename $link) | ||
| 366 | done <${D}${sysconfdir}/busybox.links | ||
| 367 | fi | ||
| 368 | } | 356 | } |
| 369 | 357 | ||
| 370 | inherit update-alternatives | 358 | inherit update-alternatives |
