From: S.Çağlar Onur Date: Tue, 13 Apr 2010 18:27:58 +0000 (+0000) Subject: enable building DistributedRateLimiting for onelab X-Git-Tag: 5.0-rc6~17 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=19e15346223e1d3b1d5d04b1993c44035e8b9387;p=build.git enable building DistributedRateLimiting for onelab --- diff --git a/onelab-tags.mk b/onelab-tags.mk index ecda1a06..4ef18f65 100644 --- a/onelab-tags.mk +++ b/onelab-tags.mk @@ -54,6 +54,7 @@ BootCD-SVNPATH := http://svn.planet-lab.org/svn/BootCD/tags/BootCD-5.0-1 VserverReference-SVNPATH := http://svn.planet-lab.org/svn/VserverReference/tags/VserverReference-5.0-2 BootstrapFS-SVNPATH := http://svn.planet-lab.org/svn/BootstrapFS/tags/BootstrapFS-2.0-4 MyPLC-SVNPATH := http://svn.planet-lab.org/svn/MyPLC/tags/MyPLC-5.0-3 +DistributedRateLimiting-SVNPATH := http://svn.planet-lab.org/svn/DistributedRateLimiting/tags/DistributedRateLimiting-0.1-1 # locating the right test directory - see make tests_svnpath tests-SVNPATH := http://svn.planet-lab.org/svn/tests/tags/tests-5.0-4 diff --git a/onelab.mk b/onelab.mk index cbd36381..442586b3 100644 --- a/onelab.mk +++ b/onelab.mk @@ -219,6 +219,15 @@ fprobe-ulog-SPEC := fprobe-ulog.spec ALL += fprobe-ulog IN_BOOTSTRAPFS += fprobe-ulog +# +# DistributedRateLimiting +# +DistributedRateLimiting-MODULES := DistributedRateLimiting +DistributedRateLimiting-SPEC := DistributedRateLimiting.spec +ALL += DistributedRateLimiting +IN_NODEREPO += DistributedRateLimiting + + # # pf2slice # @@ -443,7 +452,7 @@ ALL += bootstrapfs # noderepo # # all rpms resulting from packages marked as being in bootstrapfs and vserver -NODEREPO_RPMS = $(foreach package,$(IN_BOOTSTRAPFS) $(IN_VSERVER),$($(package).rpms)) +NODEREPO_RPMS = $(foreach package,$(IN_BOOTSTRAPFS) $(IN_NODEREPO) $(IN_VSERVER),$($(package).rpms)) # replace space with +++ (specvars cannot deal with spaces) SPACE=$(subst x, ,x) NODEREPO_RPMS_3PLUS = $(subst $(SPACE),+++,$(NODEREPO_RPMS)) @@ -452,7 +461,7 @@ noderepo-MODULES := BootstrapFS noderepo-SPEC := noderepo.spec noderepo-RPMBUILD := bash ./rpmbuild.sh # package requires all embedded packages -noderepo-DEPEND-PACKAGES := $(IN_BOOTSTRAPFS) $(IN_VSERVER) +noderepo-DEPEND-PACKAGES := $(IN_BOOTSTRAPFS) $(IN_NODEREPO) $(IN_VSERVER) noderepo-DEPEND-FILES := RPMS/yumgroups.xml #export rpm list to the specfile noderepo-SPECVARS = node_rpms_plus=$(NODEREPO_RPMS_3PLUS)