X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=onelab.mk;h=572acf3e098e2b26215ad01e77d34993bd330ef7;hb=1a936dbada7f69835ee253448bc0c78af1a88894;hp=9a79651db5e5ca4d768cb78c42787caa9bde7d2b;hpb=99b4bcba39948fa3e3ad5ca7e58b65f4f905b38e;p=build.git diff --git a/onelab.mk b/onelab.mk index 9a79651d..572acf3e 100644 --- a/onelab.mk +++ b/onelab.mk @@ -32,7 +32,7 @@ kernels-clean: $(foreach package,$(KERNELS),$(package)-clean) ALL += $(KERNELS) # this is to mark on which image a given rpm is supposed to go IN_BOOTCD += $(KERNELS) -IN_SLICEIMAGE += $(KERNELS) +#IN_SLICEIMAGE += $(KERNELS) IN_NODEIMAGE += $(KERNELS) # @@ -49,9 +49,6 @@ IN_NODEIMAGE += ipfwroot ipfwslice-MODULES := ipfw ipfwslice-SPEC := planetlab/ipfwslice.spec -ipfwslice-SPECVARS = kernel_version=$(kernel.rpm-version) \ - kernel_release=$(kernel.rpm-release) \ - kernel_arch=$(kernel.rpm-arch) ALL += ipfwslice # @@ -180,7 +177,15 @@ ALL += ipod IN_NODEIMAGE += ipod # -# NodeManager +# plnode-utils +# +plnode-utils-MODULES := plnode-utils +plnode-utils-SPEC := plnode-utils-vs.spec +ALL += plnode-utils +IN_NODEIMAGE += plnode-utils + +# +# nodemanager # nodemanager-lib-MODULES := nodemanager nodemanager-lib-SPEC := nodemanager-lib.spec @@ -237,7 +242,7 @@ ALL += pf2slice # # PlanetLab Mom: Cleans up your mess # -mom-MODULES := Mom +mom-MODULES := mom mom-SPEC := pl_mom.spec ALL += mom IN_NODEIMAGE += mom @@ -300,15 +305,47 @@ ALL += vsyssh # vsys-scripts # vsys-scripts-MODULES := vsys-scripts -vsys-scripts-SPEC := vsys-scripts.spec +vsys-scripts-SPEC := root-context/vsys-scripts.spec IN_NODEIMAGE += vsys-scripts ALL += vsys-scripts +vsys-wrapper-MODULES := vsys-scripts +vsys-wrapper-SPEC := slice-context/vsys-wrapper.spec +IN_SLICEIMAGE += vsys-wrapper +ALL += vsys-wrapper + +# openvswitch requires an autoconf more recent than what f12 has +ifeq "$(DISTRONAME)" "f12" +autoconf-MODULES := autoconf +autoconf-SPEC := autoconf.spec +autoconf-BUILD-FROM-SRPM := yes +ALL += autoconf +endif + +# +# bind_public +# +bind_public-MODULES := bind_public +bind_public-SPEC := bind_public.spec +IN_SLICEIMAGE += bind_public +ALL += bind_public + +# +# sliver-openvswitch +# +sliver-openvswitch-MODULES := sliver-openvswitch +sliver-openvswitch-SPEC := sliver-openvswitch.spec +ifeq "$(DISTRONAME)" "f12" +sliver-openvswitch-DEPEND-DEVEL-RPMS-UPDATES := autoconf +endif +IN_SLICEIMAGE += sliver-openvswitch +ALL += sliver-openvswitch + # # plcapi # plcapi-MODULES := plcapi -plcapi-SPEC := PLCAPI.spec +plcapi-SPEC := plcapi.spec ALL += plcapi IN_MYPLC += plcapi @@ -379,26 +416,6 @@ pyaspects-SPEC := pyaspects.spec pyaspects-BUILD-FROM-SRPM := yes ALL += pyaspects -# sfa now uses the with statement that's not supported on python-2.4 - not even through __future__ -# In addition we now use sqlalchemy and 0.5 as per f12 is not compatible with our model -build_sfa=true -ifeq "$(DISTRONAME)" "$(filter $(DISTRONAME),f8 f12 centos5)" -build_sfa=false -endif - -ifeq "$(build_sfa)" "true" -# -# sfa - Slice Facility Architecture -# -sfa-MODULES := sfa -sfa-SPEC := sfa.spec -ALL += sfa - -sface-MODULES := sface -sface-SPEC := sface.spec -ALL += sface -endif - # # nodeconfig # @@ -434,19 +451,12 @@ IN_MYPLC += pyplnet IN_BOOTCD += pyplnet # -# OMF resource controller -# -omf-resctl-MODULES := omf -omf-resctl-SPEC := omf-resctl.spec -ALL += omf-resctl -IN_SLICEIMAGE += omf-resctl - -# -# OMF exp controller +# for OMF resource controller as a gem : rvm-ruby has right version of ruby and related gem stuff # -omf-expctl-MODULES := omf -omf-expctl-SPEC := omf-expctl.spec -ALL += omf-expctl +rvm-ruby-MODULES := rvm-ruby +rvm-ruby-SPEC := rpm/rvm-ruby.spec +rvm-ruby-DEVEL-RPMS := chrpath libyaml-devel libffi-devel libxslt-devel +ALL += rvm-ruby # # OML measurement library @@ -557,3 +567,33 @@ release-MODULES := myplc release-SPEC := myplc-release.spec release-RPMDATE := yes ALL += release + +############################## +# sfa requires python-2.7 +build_sfa=true +ifeq "$(DISTRONAME)" "$(filter $(DISTRONAME),f8 f12 centos5)" +build_sfa=false +endif + +ifeq "$(build_sfa)" "true" +# +# sfa - Slice Facility Architecture +# +sfa-MODULES := sfa +sfa-SPEC := sfa.spec +ALL += sfa + +sface-MODULES := sface +sface-SPEC := sface.spec +ALL += sface +endif + +############################## +# don't build these by default, we have separate builds for that +myslice-MODULES := myslice +myslice-SPEC := myslice.spec +#ALL += myslice + +manifold-MODULES := manifold +manifold-SPEC := manifold.spec +#ALL += manifold