diff options
| -rw-r--r-- | meta/recipes-extended/parted/parted_3.6.bb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/meta/recipes-extended/parted/parted_3.6.bb b/meta/recipes-extended/parted/parted_3.6.bb index a537ef74db..fae35815be 100644 --- a/meta/recipes-extended/parted/parted_3.6.bb +++ b/meta/recipes-extended/parted/parted_3.6.bb | |||
| @@ -35,13 +35,15 @@ do_install_ptest() { | |||
| 35 | cp ${B}/tests/Makefile $t/tests/ | 35 | cp ${B}/tests/Makefile $t/tests/ |
| 36 | mkdir $t/lib | 36 | mkdir $t/lib |
| 37 | cp ${B}/lib/config.h $t/lib | 37 | cp ${B}/lib/config.h $t/lib |
| 38 | sed -i "s|^VERSION.*|VERSION = ${PV}|g" $t/tests/Makefile | 38 | sed -e "s|^VERSION.*|VERSION = ${PV}|g" \ |
| 39 | sed -i "s|^srcdir =.*|srcdir = \.|g" $t/tests/Makefile | 39 | -e "s|^srcdir =.*|srcdir = \.|g" \ |
| 40 | sed -i "s|^abs_srcdir =.*|abs_srcdir = \.|g" $t/tests/Makefile | 40 | -e "s|^abs_srcdir =.*|abs_srcdir = \.|g" \ |
| 41 | sed -i "s|^abs_top_srcdir =.*|abs_top_srcdir = "${PTEST_PATH}"|g" $t/tests/Makefile | 41 | -e "s|^abs_top_srcdir =.*|abs_top_srcdir = "${PTEST_PATH}"|g" \ |
| 42 | sed -i "s|^abs_top_builddir =.*|abs_top_builddir = "${PTEST_PATH}"|g" $t/tests/Makefile | 42 | -e "s|^abs_top_builddir =.*|abs_top_builddir = "${PTEST_PATH}"|g" \ |
| 43 | sed -i "s|^Makefile:.*|Makefile:|g" $t/tests/Makefile | 43 | -e "/^SH_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \ |
| 44 | sed -i "/^BUILDINFO.*$/d" $t/tests/Makefile | 44 | -e "s|^Makefile:.*|Makefile:|g" \ |
| 45 | -e "/^BUILDINFO.*$/d" \ | ||
| 46 | -i $t/tests/Makefile | ||
| 45 | for i in print-align print-max print-flags dup-clobber duplicate fs-resize; \ | 47 | for i in print-align print-max print-flags dup-clobber duplicate fs-resize; \ |
| 46 | do cp ${B}/tests/.libs/$i $t/tests/; \ | 48 | do cp ${B}/tests/.libs/$i $t/tests/; \ |
| 47 | done | 49 | done |
