summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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