- creates a vbuild with an IP address assigned - from vs2.3 this is mandatory for...
[build.git] / onelab.mk
index c8dd831..7e4dcde 100644 (file)
--- a/onelab.mk
+++ b/onelab.mk
@@ -202,6 +202,14 @@ fprobe-ulog-SPEC := fprobe-ulog.spec
 ALL += fprobe-ulog
 IN_BOOTSTRAPFS += fprobe-ulog
 
+#
+# pf2slice
+#
+pf2slice-MODULES := pf2slice
+pf2slice-SPEC := pf2slice.spec
+ALL += pf2slice
+
+
 #
 # netflow
 #
@@ -333,7 +341,7 @@ IN_MYPLC += bootstrapfs
 #
 # 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 +++
+# replace space with +++ (specvars cannot deal with spaces)
 SPACE=$(subst x, ,x)
 NODEREPO_RPMS_3PLUS = $(subst $(SPACE),+++,$(NODEREPO_RPMS))
 
@@ -343,10 +351,10 @@ noderepo-RPMBUILD := sudo bash ./rpmbuild.sh
 # package requires all regular packages
 noderepo-DEPEND-PACKAGES := $(IN_BOOTSTRAPFS) $(IN_VSERVER)
 noderepo-DEPEND-FILES := RPMS/yumgroups.xml
+#export rpm list to the specfile
 noderepo-SPECVARS = node_rpms_plus=$(NODEREPO_RPMS_3PLUS)
-# not yet
 ALL += noderepo
-#IN_MYPLC += noderepo
+IN_MYPLC += noderepo
 
 #
 # myplc : initial, chroot-based packaging