[oe-commits] Mark Asselstine : ruby.bbclass: handle new installation directories
git at git.openembedded.org
git at git.openembedded.org
Mon Aug 31 17:43:56 UTC 2015
Module: meta-openembedded.git
Branch: master
Commit: 74930393081a1369633d22928d48c7426eca730f
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=74930393081a1369633d22928d48c7426eca730f
Author: Mark Asselstine <mark.asselstine at windriver.com>
Date: Thu Aug 20 16:28:57 2015 -0400
ruby.bbclass: handle new installation directories
It appears that newer versions of ruby produce additional directories
which were not previously handled by the ruby bbclass, specifically
'build_info' and 'extensions'. This is currently resulting in QA
errors/warnings such as:
ERROR: QA Issue: puppet: Files/directories were installed but not shipped in any package:
/usr/lib64/ruby/gems/2.2.0/build_info
/usr/lib64/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]
Add these to our FILES in the bbclass such that they will packaged.
NOTE: several files may exist in the extensions directory such as
gem.build_complete and mkmf.log that we can most likely remove during
do_install. Since ruby installs these by default they have been left
in case their existence is used as some type of stampfile or similar.
Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-ruby/classes/ruby.bbclass | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta-ruby/classes/ruby.bbclass b/meta-ruby/classes/ruby.bbclass
index 9c4fcf9..ef844f2 100644
--- a/meta-ruby/classes/ruby.bbclass
+++ b/meta-ruby/classes/ruby.bbclass
@@ -111,6 +111,10 @@ FILES_${PN}-dbg += " \
${libdir}/ruby/gems/${RUBY_GEM_VERSION}/gems/*/*/*/.debug \
${libdir}/ruby/gems/${RUBY_GEM_VERSION}/gems/*/*/*/*/.debug \
${libdir}/ruby/gems/${RUBY_GEM_VERSION}/gems/*/*/*/*/*/.debug \
+ ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/extensions/*/*/.debug \
+ ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/extensions/*/*/*/.debug \
+ ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/extensions/*/*/*/*/.debug \
+ ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/extensions/*/*/*/*/*/.debug \
"
FILES_${PN} += " \
@@ -118,6 +122,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 += " \
More information about the Openembedded-commits
mailing list