Fix below warning when ${libdir} is other than '/usr/lib',

-- snip --
WARNING: pacemaker-1.1.16-r0 do_package: QA Issue: pacemaker: Files/directories 
were installed but not shipped in any package:
  /usr/lib
  /usr/lib/ocf
  /usr/lib/ocf/resource.d
  /usr/lib/ocf/resource.d/.isolation
  /usr/lib/ocf/resource.d/pacemaker
  /usr/lib/ocf/resource.d/.isolation/docker-wrapper
  /usr/lib/ocf/resource.d/pacemaker/SystemHealth
  /usr/lib/ocf/resource.d/pacemaker/HealthCPU
  /usr/lib/ocf/resource.d/pacemaker/ClusterMon
  /usr/lib/ocf/resource.d/pacemaker/pingd
  /usr/lib/ocf/resource.d/pacemaker/HealthSMART
  /usr/lib/ocf/resource.d/pacemaker/controld
  /usr/lib/ocf/resource.d/pacemaker/Stateful
  /usr/lib/ocf/resource.d/pacemaker/ping
  /usr/lib/ocf/resource.d/pacemaker/o2cb
  /usr/lib/ocf/resource.d/pacemaker/remote
  /usr/lib/ocf/resource.d/pacemaker/Dummy
  /usr/lib/ocf/resource.d/pacemaker/SysInfo
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded, avoid installing them or delete them within do_install.
pacemaker: 18 installed and not shipped files. [installed-vs-shipped]
-- snip --

Signed-off-by: Jeremy Puhlman <jpuhl...@mvista.com>
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjana...@mvista.com>
---
 meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb 
b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
index cc1dd3d..3a4a848 100755
--- a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
+++ b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
@@ -82,7 +82,7 @@ RDEPENDS_${PN}-remote += "libqb bash"
 FILES_${PN} += " ${datadir}/snmp                             \
                  ${libdir}/corosync/lcrso/pacemaker.lcrso    \
                  ${libdir}/${PYTHON_DIR}/dist-packages/cts/  \
-                 ${libdir}/ocf/resource.d/ \
+                 ${nonarch_libdir}/ocf/resource.d/ \
                  ${libdir}/${PYTHON_DIR}/site-packages \
                "
 FILES_${PN}-dbg += "${libdir}/corosync/lcrso/.debug"
-- 
1.8.3.1
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to