add ipfw to the lxc build
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 11 Jun 2012 07:26:28 +0000 (09:26 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 11 Jun 2012 07:26:28 +0000 (09:26 +0200)
lxc-tags.mk
lxc.mk

index 6320218..7cd893e 100644 (file)
@@ -3,6 +3,7 @@
 # lxcbuild is a tag
 linux-3-GITPATH                := git://git.planet-lab.org/linux-3.git@lxcbuild
 kernel-DEVEL-RPMS              += elfutils-libelf-devel
+ipfw-GITPATH                    := git://git.onelab.eu/ipfw.git@master
 nodeupdate-GITPATH             := git://git.planet-lab.org/nodeupdate.git@nodeupdate-0.5-9
 PingOfDeath-SVNPATH            := http://svn.planet-lab.org/svn/PingOfDeath/tags/PingOfDeath-2.2-1
 nodemanager-BRANCH             := lxc_devel
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
 #