X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=onelab.mk;h=1d1d78f78c2534b346879050388e0c20216e9144;hb=80759a73171ef9421cd1e5e44f1b83234ae4d339;hp=cbd363811381fedd0c8875143ef112d81fc13d19;hpb=b22aaaa972fa18fe688872dd51c2147b28c6fd37;p=build.git diff --git a/onelab.mk b/onelab.mk index cbd36381..1d1d78f7 100644 --- a/onelab.mk +++ b/onelab.mk @@ -49,6 +49,7 @@ ipfwroot-SPECVARS = kernel_version=$(kernel.rpm-version) \ kernel_release=$(kernel.rpm-release) \ kernel_arch=$(kernel.rpm-arch) ALL += ipfwroot +IN_BOOTSTRAPFS += ipfwroot ipfwslice-MODULES := ipfw ipfwslice-SPEC := planetlab/ipfwslice.spec @@ -115,6 +116,9 @@ ALL += umts-frontend # iptables-MODULES := iptables iptables-SPEC := iptables.spec +ifeq "$(PLDISTROTAGS)" "onelab-k27-tags.mk" +iptables-BUILD-FROM-SRPM := yes +endif iptables-DEPEND-DEVEL-RPMS := kernel-devel kernel-headers ALL += iptables IN_BOOTSTRAPFS += iptables @@ -219,6 +223,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 +456,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 +465,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)