From: Thierry Parmentelat Date: Wed, 26 Jan 2011 11:33:16 +0000 (+0100) Subject: added missing slicerepo X-Git-Url: http://git.onelab.eu/?p=wextoolbox.git;a=commitdiff_plain;h=4d0b0c9f212cc3fe11bebccacaa53c8833b2b31e added missing slicerepo --- diff --git a/wextoolbox.mk b/wextoolbox.mk index 5f8e1dd..e6e5960 100644 --- a/wextoolbox.mk +++ b/wextoolbox.mk @@ -496,6 +496,25 @@ noderepo-RPMDATE := yes ALL += noderepo IN_MYPLC += noderepo +# +# slicerepo +# +# all rpms resulting from packages marked as being in vserver +SLICEREPO_RPMS = $(foreach package,$(IN_VSERVER),$($(package).rpms)) +# replace space with +++ (specvars cannot deal with spaces) +SPACE=$(subst x, ,x) +SLICEREPO_RPMS_3PLUS = $(subst $(SPACE),+++,$(SLICEREPO_RPMS)) + +slicerepo-MODULES := bootstrapfs +slicerepo-SPEC := slicerepo.spec +# package requires all embedded packages +slicerepo-DEPEND-PACKAGES := $(IN_VSERVER) +slicerepo-DEPEND-FILES := RPMS/yumgroups.xml +#export rpm list to the specfile +slicerepo-SPECVARS = slice_rpms_plus=$(SLICEREPO_RPMS_3PLUS) +slicerepo-RPMDATE := yes +ALL += slicerepo + # # MyPLC : lightweight packaging, dependencies are yum-installed in a vserver #