mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
libvirt: remove .o files for ptest
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 <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
7ff08e542d
commit
b25af25747
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user