Re: [yocto] [meta-virtualization][PATCH] libvirt: remove .o files for ptest

2016-09-22 Thread Bruce Ashfield

On 2016-09-22 03:42 AM, kai.k...@windriver.com wrote:

From: Kai Kang 

When do split_and_strip_files, it may calls debugedit to deal elf files.
For ptest sub-package, it fails to run debugedit with .o files. So remove
the .o files which are redundant to run ptest cases.


Wrong mailing list (still) .. but merged regardless.

Bruce



Signed-off-by: Kai Kang 
---
 recipes-extended/libvirt/libvirt_1.3.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/libvirt/libvirt_1.3.5.bb 
b/recipes-extended/libvirt/libvirt_1.3.5.bb
index 3eff58d..fad5632 100644
--- a/recipes-extended/libvirt/libvirt_1.3.5.bb
+++ b/recipes-extended/libvirt/libvirt_1.3.5.bb
@@ -275,7 +275,7 @@ do_install_ptest() {
find ${S}/tests -maxdepth 1 -type d -exec cp -r {} 
${D}${PTEST_PATH}/tests/ \;

# remove .la files for ptest, they aren't required and can trigger QA 
errors
-   for i in `find ${D}${PTEST_PATH} -type f -name *.la`; do
+   for i in `find ${D}${PTEST_PATH} -type f \( -name *.la -o -name *.o 
\)`; do
 rm -f $i
done
 }



--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-virtualization][PATCH] libvirt: remove .o files for ptest

2016-09-22 Thread kai.kang
From: Kai Kang 

When do split_and_strip_files, it may calls debugedit to deal elf files.
For ptest sub-package, it fails to run debugedit with .o files. So remove
the .o files which are redundant to run ptest cases.

Signed-off-by: Kai Kang 
---
 recipes-extended/libvirt/libvirt_1.3.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/libvirt/libvirt_1.3.5.bb 
b/recipes-extended/libvirt/libvirt_1.3.5.bb
index 3eff58d..fad5632 100644
--- a/recipes-extended/libvirt/libvirt_1.3.5.bb
+++ b/recipes-extended/libvirt/libvirt_1.3.5.bb
@@ -275,7 +275,7 @@ do_install_ptest() {
find ${S}/tests -maxdepth 1 -type d -exec cp -r {} 
${D}${PTEST_PATH}/tests/ \;
 
# remove .la files for ptest, they aren't required and can trigger QA 
errors
-   for i in `find ${D}${PTEST_PATH} -type f -name *.la`; do
+   for i in `find ${D}${PTEST_PATH} -type f \( -name *.la -o -name *.o 
\)`; do
 rm -f $i
done
 }
-- 
2.9.3

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto