summaryrefslogtreecommitdiff
path: root/strata/ivi-common/automotive-message-broker.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/ivi-common/automotive-message-broker.morph')
-rw-r--r--strata/ivi-common/automotive-message-broker.morph20
1 files changed, 20 insertions, 0 deletions
diff --git a/strata/ivi-common/automotive-message-broker.morph b/strata/ivi-common/automotive-message-broker.morph
new file mode 100644
index 00000000..50428735
--- /dev/null
+++ b/strata/ivi-common/automotive-message-broker.morph
@@ -0,0 +1,20 @@
+name: automotive-message-broker
+kind: chunk
+description: Automotive Message Broker framework
+build-system: cmake
+post-install-commands:
+- mkdir -p "$DESTDIR/usr/lib/systemd/system"
+- |
+ cat >"$DESTDIR/usr/lib/systemd/system/ambd.service" <<EOF
+ [Unit]
+ Description=Automotive Message Broker
+ After=syslog.target
+
+ [Service]
+ Type=dbus
+ BusName=org.automotive.message.broker
+ ExecStart=/usr/bin/ambd
+
+ [Install]
+ WantedBy=multi-user.target
+ EOF