summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-12-08 18:08:51 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-22 12:46:27 +0000
commita316ac04ae12d5ed91e6590be462798650875337 (patch)
treee7fdbe3124733193e7101719ad65d1ab2f400a0b
parent9abafa4d624b98141d6453d6b0aec3dd568694ed (diff)
downloaddefinitions-a316ac04ae12d5ed91e6590be462798650875337.tar.gz
Add networking-utils stratum and iproute2
Openvswitch needs iproute2 tc command.
-rw-r--r--strata/networking-utils.morph11
-rw-r--r--strata/networking-utils/iproute2.morph10
-rw-r--r--systems/openstack-server.morph2
3 files changed, 23 insertions, 0 deletions
diff --git a/strata/networking-utils.morph b/strata/networking-utils.morph
new file mode 100644
index 00000000..a39b539f
--- /dev/null
+++ b/strata/networking-utils.morph
@@ -0,0 +1,11 @@
+name: networking-utils
+kind: stratum
+build-depends:
+- morph: strata/foundation.morph
+chunks:
+- name: iproute2
+ morph: strata/networking-utils/iproute2.morph
+ repo: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git
+ ref: 50231ad2a554fcb02462bed6405c970833c1baee
+ unpetrify-ref: v3.17.0
+ build-depends: []
diff --git a/strata/networking-utils/iproute2.morph b/strata/networking-utils/iproute2.morph
new file mode 100644
index 00000000..7ba04db6
--- /dev/null
+++ b/strata/networking-utils/iproute2.morph
@@ -0,0 +1,10 @@
+name: iproute2
+kind: chunk
+build-commands:
+# arpd binary is dependent on Berkeley DB, which is licensed by Oracle
+# as arpd is not needed for Openstack systems, arpd will not be compiled
+# or installed.
+- sed -i '/^TARGETS/s@arpd@@g' misc/Makefile
+- make
+install-commands:
+- DESTDIR="$DESTDIR" PREFIX="$PREFIX" make install
diff --git a/systems/openstack-server.morph b/systems/openstack-server.morph
index ced2261b..bd0c7050 100644
--- a/systems/openstack-server.morph
+++ b/systems/openstack-server.morph
@@ -21,6 +21,8 @@ strata:
morph: strata/virtualization.morph
- name: connectivity
morph: strata/connectivity.morph
+- name: networking-utils
+ morph: strata/networking-utils.morph
- name: erlang
morph: strata/erlang.morph
- name: openstack-common