summaryrefslogtreecommitdiff
path: root/strata/openstack-services
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-06-09 16:52:33 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-06-10 12:57:13 +0000
commit93a67f51872288da56363bbe3eec0e530c6d6c1b (patch)
treebe7aacc969e67026f805ee3b4ce6cc49e2b1db6a /strata/openstack-services
parent8ee7515c5ba344303b4ca2f534c7364914a1e3e9 (diff)
downloaddefinitions-93a67f51872288da56363bbe3eec0e530c6d6c1b.tar.gz
Move erlang-sd_notify to openstack-service stratum
erlang-sd_notify is required only, at the moment, by rabbitmq server to be able to send notifications to systemd, so makes sense for it to belongs only to openstack-service stratum making the erlang stratum minimal. This movement makes erlang stratum not depends on systemd (because erlang-sd_notify needs systemd headers to compile), defo it can depends only in core stratum. Change-Id: Ie6fbb58502336d21fa882bae09860a56d4c14a60
Diffstat (limited to 'strata/openstack-services')
-rw-r--r--strata/openstack-services/erlang-sd_notify.morph8
1 files changed, 8 insertions, 0 deletions
diff --git a/strata/openstack-services/erlang-sd_notify.morph b/strata/openstack-services/erlang-sd_notify.morph
new file mode 100644
index 00000000..dd3f66ca
--- /dev/null
+++ b/strata/openstack-services/erlang-sd_notify.morph
@@ -0,0 +1,8 @@
+name: erlang-sd_notify
+kind: chunk
+build-commands:
+- LDFLAGS=-lsystemd REBAR_FLAGS="--verbose 2" make
+install-commands:
+- install -D -m 644 -p ebin/sd_notify.app "$DESTDIR$PREFIX"/lib/erlang/lib/sd_notify-0.1/ebin/sd_notify.app
+- install -D -m 644 -p ebin/sd_notify.beam "$DESTDIR$PREFIX"/lib/erlang/lib/sd_notify-0.1/ebin/sd_notify.beam
+- install -D -m 755 -p priv/sd_notify_drv.so "$DESTDIR$PREFIX"/lib/erlang/lib/sd_notify-0.1/priv/sd_notify_drv.so