1. do create an omf sliceimage, even if it might have no real addition, so that omf...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 27 Mar 2014 10:33:26 +0000 (11:33 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 27 Mar 2014 10:33:26 +0000 (11:33 +0100)
2. turn on rvm-ruby building on f20 - might it work now ?

config.lxc/sliceimage-omf.pkgs [moved from config.lxc/sliceimage-omf.pkgs.hide with 100% similarity]
config.planetlab/sliceimage-omf.pkgs
lxc.mk

index 4dd4f7e..f597a07 100644 (file)
@@ -1,4 +1,8 @@
 #
 groupname: rvm-ruby
 groupdesc: rvm and pre-installed ruby for easily deploying omf-rc as a gem
-package: rvm-ruby
+# unfortunately the rvm-ruby build got broken on f18 at some point because of 
+# changes in openssl - see lxc.mk
+# however it's best to define a valid extension here because otherwise
+# the omf sliceimage is not known, and slices cannot be instantiated
+package>=f18: rvm-ruby
diff --git a/lxc.mk b/lxc.mk
index 80ebec2..e4c3b19 100644 (file)
--- a/lxc.mk
+++ b/lxc.mk
@@ -372,12 +372,14 @@ IN_BOOTCD += pyplnet
 #
 # for OMF resource controller as  a gem : rvm-ruby has right version of ruby and related gem stuff
 #
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f18)"
 rvm-ruby-MODULES := rvm-ruby
 rvm-ruby-SPEC := rpm/rvm-ruby.spec
 rvm-ruby-STOCK-DEVEL-RPMS := chrpath libyaml-devel libffi-devel libxslt-devel
 # Since Oct 22. 2013, f18 has a new release of openssl that ruby is not too happy to build against
 # turning this off for now, Christoph Dwertmann to monitor the status of this bug/incompatibility upstream
-#ALL += rvm-ruby
+ALL += rvm-ruby
+endif
 
 #
 # OML measurement library