From: Thierry Parmentelat Date: Tue, 4 Mar 2008 13:19:11 +0000 (+0000) Subject: oops, wrong name X-Git-Tag: 4.2-rc2~163 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a29dfc4faff2249a12fc25fc94c999922544dae0;p=build.git oops, wrong name --- diff --git a/getreleasename.sh b/getdistroname.sh similarity index 100% rename from getreleasename.sh rename to getdistroname.sh diff --git a/onelab.mk b/onelab.mk index b707da85..c5be23d7 100644 --- a/onelab.mk +++ b/onelab.mk @@ -328,6 +328,26 @@ bootstrapfs-DEPEND-FILES := RPMS/yumgroups.xml ALL += bootstrapfs IN_MYPLC += bootstrapfs +# +# noderepo +# +# all rpms resulting from packages marked as being in bootstrapfs and vserver +NODEREPO_RPMS = $(foreach package,$(IN_BOOTSTRAPFS) $(IN_VSERVER),$($(package).rpms)) +# replace space with +++ +SPACE=$(subst x, ,x) +NODEREPO_RPMS_3PLUS = $(subst $(SPACE),+++,$(NODEREPO_RPMS)) + +noderepo-MODULES := BootstrapFS build +noderepo-SPEC := noderepo.spec +noderepo-RPMBUILD := sudo bash ./rpmbuild.sh +# package requires all regular packages +noderepo-DEPEND-PACKAGES := $(IN_BOOTSTRAPFS) $(IN_VSERVER) +noderepo-DEPEND-FILES := RPMS/yumgroups.xml noderepo.list +noderepo-SPECVARS = node_rpms_plus=$(NODEREPO_RPMS_3PLUS) +# not yet +ALL += noderepo +#IN_MYPLC += noderepo + # # myplc : initial, chroot-based packaging #