All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu: fix: cp command cannot find tests/Makeflie
@ 2016-09-08 19:20 Saul Wold
  2016-09-08 22:40 ` Jianxun Zhang
  0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2016-09-08 19:20 UTC (permalink / raw)
  To: openembedded-core, richard.purdie

From: Jianxun Zhang <jianxun.zhang@linux.intel.com>

bitbake qemu

This error shows up:

ERROR: qemu-2.7.0-r1 do_install_ptest_base: Function failed:
do_install_ptest_base
...
cp: cannot stat '...tmp/work/core2-64-poky-linux/qemu/2.7.0-r1
/qemu-2.7.0/tests/Makefile: No such file or directory
...

Commit 46e7b70699d8bf4db08c8bb5111974318dd5416d in qemu project
renamed tests/Makefile to tests/Makefile.include, we apply the
same change in recipe accordingly to fix this issue.

Fixes [YOCTO #10245]
---
 meta/recipes-devtools/qemu/qemu.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index d724aa4..b46e7f7 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -76,7 +76,7 @@ do_install_ptest() {
 	cp -rL ${B}/tests ${D}${PTEST_PATH}
 	find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {}
 
-	cp ${S}/tests/Makefile ${D}${PTEST_PATH}/tests
+	cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests
 }
 
 do_install () {
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qemu: fix: cp command cannot find tests/Makeflie
  2016-09-08 19:20 [PATCH] qemu: fix: cp command cannot find tests/Makeflie Saul Wold
@ 2016-09-08 22:40 ` Jianxun Zhang
  0 siblings, 0 replies; 2+ messages in thread
From: Jianxun Zhang @ 2016-09-08 22:40 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

Note the patch is based on 958c05b on master-next branch in poky.

Thanks

> On Sep 8, 2016, at 12:20 PM, Saul Wold <sgw@linux.intel.com> wrote:
> 
> From: Jianxun Zhang <jianxun.zhang@linux.intel.com>
> 
> bitbake qemu
> 
> This error shows up:
> 
> ERROR: qemu-2.7.0-r1 do_install_ptest_base: Function failed:
> do_install_ptest_base
> ...
> cp: cannot stat '...tmp/work/core2-64-poky-linux/qemu/2.7.0-r1
> /qemu-2.7.0/tests/Makefile: No such file or directory
> ...
> 
> Commit 46e7b70699d8bf4db08c8bb5111974318dd5416d in qemu project
> renamed tests/Makefile to tests/Makefile.include, we apply the
> same change in recipe accordingly to fix this issue.
> 
> Fixes [YOCTO #10245]
> ---
> meta/recipes-devtools/qemu/qemu.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
> index d724aa4..b46e7f7 100644
> --- a/meta/recipes-devtools/qemu/qemu.inc
> +++ b/meta/recipes-devtools/qemu/qemu.inc
> @@ -76,7 +76,7 @@ do_install_ptest() {
> 	cp -rL ${B}/tests ${D}${PTEST_PATH}
> 	find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {}
> 
> -	cp ${S}/tests/Makefile ${D}${PTEST_PATH}/tests
> +	cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests
> }
> 
> do_install () {
> -- 
> 2.7.4
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-08 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 19:20 [PATCH] qemu: fix: cp command cannot find tests/Makeflie Saul Wold
2016-09-08 22:40 ` Jianxun Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.