Patchwork bzip2: fix ptest execution failure

login
register
mail settings
Submitter Maxin B. John
Date May 5, 2014, 8:42 p.m.
Message ID <1399322542-21516-1-git-send-email-maxin.john@enea.com>
Download mbox | patch
Permalink /patch/71539/
State New
Headers show

Comments

Maxin B. John - May 5, 2014, 8:42 p.m.
From: "Maxin B. John" <maxin.john@enea.com>

This patch fixes the bzip2 ptest execution failure:

root@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@enea.com>
---
 meta/recipes-extended/bzip2/bzip2_1.0.6.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Maxin B. John - May 8, 2014, 1:30 p.m.
ping.

On Mon, May 05, 2014 at 10:42:22PM +0200, Maxin B. John wrote:
> From: "Maxin B. John" <maxin.john@enea.com>
> 
> This patch fixes the bzip2 ptest execution failure:
> 
> root@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@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

Patch

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
 }