[oe-commits] Maxin B. John : bzip2: fix ptest execution failure

git at git.openembedded.org git at git.openembedded.org
Thu May 22 15:46:09 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: a8157ba1682c650962150f941b2db775156bbde6
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a8157ba1682c650962150f941b2db775156bbde6

Author: Maxin B. John <maxin.john at enea.com>
Date:   Mon May  5 22:42:22 2014 +0200

bzip2: fix ptest execution failure

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>
Signed-off-by: Saul Wold <sgw at linux.intel.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
 }
 



More information about the Openembedded-commits mailing list