When multilib is enabled, it fails to do install with error:
sed: can't read .../image/usr/lib/ruby/*/*/rbconfig.rb: No such file or
directory
Replace '/usr/lib' with ${libdir} to fix it.
Signed-off-by: Kai Kang <[email protected]>
---
meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb
b/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb
index 2bf0a00..1076a1c 100644
--- a/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb
+++ b/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb
@@ -33,7 +33,7 @@ do_install() {
do_install_append () {
if [ "${PN}" != "ruby-native" ]; then
- sed -i "s/sysroot=[0-9a-z\/\-]*/sysroot=\//g"
${D}/usr/lib/ruby/*/*/rbconfig.rb
+ sed -i "s/sysroot=[0-9a-z\/\-]*/sysroot=\//g"
${D}${libdir}/ruby/*/*/rbconfig.rb
fi
}
--
1.9.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel