When build the recipes which inherit ruby,WARNING will occur as following:
WARNING: QA Issue: mixlib-log: Files/directories were installed but not shipped 
in any package:
  /usr/lib/ruby/gems/2.2.0/build_info
  /usr/lib/ruby/gems/2.2.0/extensions
Please set FILES such that these items are packaged. Alternatively if they are 
unneeded,
avoid installing them or delete them within do_install. [installed-vs-shipped]
So modify ruby.bbclass

Signed-off-by: Li Xin <[email protected]>
---
 meta-openstack/classes/ruby.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-openstack/classes/ruby.bbclass 
b/meta-openstack/classes/ruby.bbclass
index 947613e..957abf7 100644
--- a/meta-openstack/classes/ruby.bbclass
+++ b/meta-openstack/classes/ruby.bbclass
@@ -121,6 +121,8 @@ FILES_${PN} += " \
         ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/cache \
         ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/bin \
         ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/specifications \
+        ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/build_info \
+        ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/extensions \
         "
 
 FILES_${PN}-doc += " \
-- 
1.8.4.2

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to