[yocto] [meta-cgl][PATCH] cluster-glue: upgrade 1.0.5 -> 1.0.12

Jagadeesh Krishnanjanappa jkrishnanjanappa at mvista.com
Tue Aug 18 20:16:04 PDT 2015


Hi Li,

-FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/"
> +FILES_${PN}-dbg += "/usr/lib/heartbeat/.debug/ \
> +                   "
> +FILES_${PN}-plugin-compress = "/usr/lib/heartbeat/plugins/compress/*.so"
> +FILES_${PN}-plugin-compress-staticdev =
> "/usr/lib/heartbeat/plugins/compress/*.*a"
> +FILES_${PN}-plugin-compress-dbg =
> "/usr/lib/heartbeat/plugins/compress/.debug/"
>
>  FILES_${PN}-plugin-test = "/usr/lib/heartbeat/plugins/test/test.so"
>  FILES_${PN}-plugin-test-staticdev =
> "/usr/lib/heartbeat/plugins/test/test.*a"
>

It would be useful to replace the hardcoded strings such as "/usr/lib" to
${libdir} , in order to avoid QA warnings/errors which arise while buidling
cluster-glue for multilib or if BASELIB is set to other than "lib"

Example:
-- snip --
ERROR: QA Issue: cluster-glue: Files/directories were installed but not
shipped
in any package:
  /usr/lib64/libstonith.so.1.0.0
  /usr/lib64/libplumb.so.2
  /usr/lib64/libpils.so.2
  /usr/lib64/libplumb.so.2.0.0
  /usr/lib64/libpils.so.2.0.0
  /usr/lib64/liblrm.so.2
  /usr/lib64/libstonith.so.1
  /usr/lib64/libplumbgpl.so.2
  /usr/lib64/libplumbgpl.so.2.0.0
  /usr/lib64/liblrm.so.2.0.0
-- CUT --

Also, If bitbake fails to find these files not being provided by
any RPMs/DPKs, then we get below error during do_rootfs;

-- snip --
ERROR: Unable to install packages. Command
'/opt/poky/build/tmp/sysroots/x86_64-linux/usr/bin/smart
--log-level=warning
--data-dir=/opt/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/var/lib/smart
install -y cluster-glue at core2_64 run-postinsts at all
packagegroup-core-boot at qemux86_64' returned 1:
Loading cache...
Updating cache...               ########################################
[100%]

Computing transaction...error: Can't install cluster-glue-1.0.5-r0 at core2_64:
no
package provides libstonith.so.1()(64bit)
-- CUT --

Regards,
Jagadeesh

_______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150819/83f4dcae/attachment.html>


More information about the yocto mailing list