From 93a67f51872288da56363bbe3eec0e530c6d6c1b Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Tue, 9 Jun 2015 16:52:33 +0000 Subject: 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 --- strata/openstack-services/erlang-sd_notify.morph | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 strata/openstack-services/erlang-sd_notify.morph (limited to 'strata/openstack-services') 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 -- cgit v1.2.1