[OE-core] [PATCH] bzip2: fix ptest execution failure

Maxin B. John maxin.john at enea.com
Mon May 5 20:42:22 UTC 2014


From: "Maxin B. John" <maxin.john at enea.com>

This patch fixes the bzip2 ptest execution failure:

root at qemux86:/usr/lib/bzip2/ptest# ./run-ptest
make: *** No rule to make target 'runtest'.

(This is also applicable for daisy branch)

Signed-off-by: Maxin B. John <maxin.john at enea.com>
---
 meta/recipes-extended/bzip2/bzip2_1.0.6.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
index e9d745d..9dd9e6a 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
@@ -11,7 +11,7 @@ PR = "r5"
 SRC_URI = "http://www.bzip.org/${PV}/${BPN}-${PV}.tar.gz \
            file://configure.ac \
            file://run-ptest \
-	   file://Makefile.am"
+           file://Makefile.am"
 
 SRC_URI[md5sum] = "00b516f4704d4a7cb50a1d97e6e8e15b"
 SRC_URI[sha256sum] = "a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd"
@@ -35,6 +35,7 @@ do_extraunpack () {
 addtask extraunpack after do_unpack before do_patch
 
 do_install_ptest () {
+	cp -f ${B}/Makefile ${D}${PTEST_PATH}/Makefile
 	sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile
 }
 
-- 
1.7.10.4




More information about the Openembedded-core mailing list