From d724892afa3e3361ffc1a31a5c05ef48f1ad0d52 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 22 Feb 2016 22:07:46 -0500 Subject: libvirt: fix ptest QA errors The .la files generated for the ptest libraries have multiple references to the working dir and continue to trigger QA errors. Rather than playing whack-a-mole with the references, we can simply remove the .la files .. since they are not required on the target. Signed-off-by: Bruce Ashfield --- recipes-extended/libvirt/libvirt_1.2.19.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extended/libvirt/libvirt_1.2.19.bb b/recipes-extended/libvirt/libvirt_1.2.19.bb index 9a58be2c..4de284c2 100644 --- a/recipes-extended/libvirt/libvirt_1.2.19.bb +++ b/recipes-extended/libvirt/libvirt_1.2.19.bb @@ -269,9 +269,9 @@ do_compile_ptest() { do_install_ptest() { oe_runmake -C tests install-ptest - # Update libdir references in copied .la files + # 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 - sed -i -e 's#${B}#${PTEST_PATH}#g' $i + rm -f $i done } -- cgit v1.2.3-54-g00ecf