summaryrefslogtreecommitdiff
path: root/strata/ivi-common
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-04-01 18:35:21 +0000
committerJavier Jardón <jjardon@gnome.org>2016-04-05 19:04:19 +0000
commitaae6c313a831b8a5d876b89e351ef1fbe3b7741d (patch)
tree13bab98db1bd93c56d8b93fc42422adea4ec7635 /strata/ivi-common
parent1caf6cf3ae4aba0fe0225ff131417920cd6c79e7 (diff)
downloaddefinitions-aae6c313a831b8a5d876b89e351ef1fbe3b7741d.tar.gz
Move automotive-message-broke to ivi-common
Currently this module is used by GENIVI and AGL Change-Id: I3a867e64cd650088342256dcda3974f04d5ef110
Diffstat (limited to 'strata/ivi-common')
-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