From 4d0b0c9f212cc3fe11bebccacaa53c8833b2b31e Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 26 Jan 2011 12:33:16 +0100 Subject: [PATCH] added missing slicerepo --- wextoolbox.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 # -- 2.43.0