add ipfw to the lxc build
[build.git] / lxc.mk
diff --git a/lxc.mk b/lxc.mk
index 7b382bc..e339516 100644 (file)
--- a/lxc.mk
+++ b/lxc.mk
@@ -39,6 +39,25 @@ IN_SLICEIMAGE += $(KERNELS)
 IN_NODEIMAGE += $(KERNELS)
 endif
 
+#
+# ipfw: root context module, and slice companion
+#
+ipfwroot-MODULES := ipfw
+ipfwroot-SPEC := planetlab/ipfwroot.spec
+#ipfwroot-DEPEND-DEVEL-RPMS += kernel-devel
+#ipfwroot-SPECVARS = kernel_version=$(kernel.rpm-version) \
+#        kernel_release=$(kernel.rpm-release) \
+#        kernel_arch=$(kernel.rpm-arch)
+ALL += ipfwroot
+IN_NODEIMAGE += ipfwroot
+
+ipfwslice-MODULES := ipfw
+ipfwslice-SPEC := planetlab/ipfwslice.spec
+ipfwslice-SPECVARS = kernel_version=$(kernel.rpm-version) \
+        kernel_release=$(kernel.rpm-release) \
+        kernel_arch=$(kernel.rpm-arch)
+ALL += ipfwslice
+
 #
 # NodeUpdate
 #