X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lxc.mk;h=e70fc9dead8e266202c269d7935b10bc4e5f41c9;hb=fd795ad430a363fb90ba25fb25fcebfcb54d004d;hp=f90d4e62aa85ee4a9aec854a7132279d65b0cb53;hpb=917e77d2c7864de87f373b07c5ef7865fa4123a1;p=build.git diff --git a/lxc.mk b/lxc.mk index f90d4e62..e70fc9de 100644 --- a/lxc.mk +++ b/lxc.mk @@ -8,6 +8,25 @@ # see doc in Makefile # +### the madwifi drivers ahip with fedora16's kernel rpm + +# +# lxctools: scripts for entering containers +# +lxctools-MODULES := transforward +lxctools-SPEC := transforward.spec +ALL += lxctools +IN_NODEIMAGE += lxctools + +# +# lxcsu: root context module for entering namespaces +# +lxcsu-MODULES := lxcsu +lxcsu-SPEC := lxcsu.spec +ALL += lxcsu +IN_NODEIMAGE += lxcsu + +# # # transforward: root context module for transparent port forwarding # @@ -16,6 +35,14 @@ transforward-SPEC := transforward.spec ALL += transforward IN_NODEIMAGE += transforward +# +# procprotect: root context module for protecting against weaknesses in /proc +# +procprotect-MODULES := procprotect +procprotect-SPEC := procprotect.spec +ALL += procprotect +IN_NODEIMAGE += procprotect + # # ipfw: root context module, and slice companion # @@ -26,9 +53,6 @@ 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 # @@ -48,12 +72,25 @@ ALL += ipod IN_NODEIMAGE += ipod # -# NodeManager +# plnode-utils +# +plnode-utils-MODULES := plnode-utils +plnode-utils-SPEC := plnode-utils-lxc.spec +ALL += plnode-utils +IN_NODEIMAGE += plnode-utils + +# +# nodemanager # -nodemanager-MODULES := nodemanager -nodemanager-SPEC := NodeManager.spec -ALL += nodemanager -IN_NODEIMAGE += nodemanager +nodemanager-lib-MODULES := nodemanager +nodemanager-lib-SPEC := nodemanager-lib.spec +ALL += nodemanager-lib +IN_NODEIMAGE += nodemanager-lib + +nodemanager-lxc-MODULES := nodemanager +nodemanager-lxc-SPEC := nodemanager-lxc.spec +ALL += nodemanager-lxc +IN_NODEIMAGE += nodemanager-lxc # # pl_sshd @@ -79,6 +116,13 @@ fprobe-ulog-SPEC := fprobe-ulog.spec ALL += fprobe-ulog IN_NODEIMAGE += fprobe-ulog +#################### libvirt on f16 is too old, sounds like f17 has something fine +local_libvirt=false +ifeq "$(DISTRONAME)" "f16" +local_libvirt=true +endif + +ifeq "$(local_libvirt)" "true" # # libvirt # @@ -88,7 +132,7 @@ libvirt-BUILD-FROM-SRPM := yes libvirt-DEVEL-RPMS += libxml2-devel gnutls-devel device-mapper-devel yajl-devel gettext libvirt-DEVEL-RPMS += python-devel libcap-ng-devel libpciaccess-devel radvd numactl-devel libvirt-DEVEL-RPMS += xhtml1-dtds libxslt libtasn1-devel systemtap-sdt-devel iptables-ipv6 augeas -libvirt-DEVEL-RPMS += libudev-devel +libvirt-DEVEL-RPMS += libudev-devel libpcap-devel libnl-devel ebtables scrub libvirt-RPMFLAGS := --without storage-disk --without storage-iscsi --without storage-scsi \ --without storage-fs --without storage-lvm \ --without polkit --without sasl --without audit --with capng --with udev \ @@ -99,6 +143,7 @@ libvirt-RPMFLAGS := --without storage-disk --without storage-iscsi --without sto ALL += libvirt IN_NODEREPO += libvirt IN_NODEIMAGE += libvirt +endif # # DistributedRateLimiting @@ -118,7 +163,7 @@ ALL += pf2slice ## ## PlanetLab Mom: Cleans up your mess ## -#mom-MODULES := Mom +#mom-MODULES := mom #mom-SPEC := pl_mom.spec #ALL += mom #IN_NODEIMAGE += mom @@ -181,10 +226,18 @@ ALL += vsyssh # vsys-scripts # vsys-scripts-MODULES := vsys-scripts -vsys-scripts-SPEC := vsys-scripts.spec +vsys-scripts-SPEC := root-context/vsys-scripts.spec IN_NODEIMAGE += vsys-scripts ALL += vsys-scripts +# +# bind_public +# +bind_public-MODULES := bind_public +bind_public-SPEC := bind_public.spec +IN_SLICEIMAGE += bind_public +ALL += bind_public + # # plcapi #