diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-02-22 22:07:46 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-02-22 22:07:46 -0500 |
commit | d724892afa3e3361ffc1a31a5c05ef48f1ad0d52 (patch) | |
tree | 80054234fbba808070fd5c63f2964ee6ade98ec7 | |
parent | f529090d7f99b8d2ceb67f9ed93a772c72778679 (diff) | |
download | meta-virtualization-d724892afa3e3361ffc1a31a5c05ef48f1ad0d52.tar.gz |
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 <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.2.19.bb | 4 |
1 files 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() { | |||
269 | do_install_ptest() { | 269 | do_install_ptest() { |
270 | oe_runmake -C tests install-ptest | 270 | oe_runmake -C tests install-ptest |
271 | 271 | ||
272 | # Update libdir references in copied .la files | 272 | # remove .la files for ptest, they aren't required and can trigger QA errors |
273 | for i in `find ${D}${PTEST_PATH} -type f -name *.la`; do | 273 | for i in `find ${D}${PTEST_PATH} -type f -name *.la`; do |
274 | sed -i -e 's#${B}#${PTEST_PATH}#g' $i | 274 | rm -f $i |
275 | done | 275 | done |
276 | } | 276 | } |
277 | 277 | ||