This patch enables AMB source plugin based on CAN database. In order to
support non CAN support target like Odroid, vcan device is temporarily
enabled.
Change-Id: I3259841fc85a0de7d503e7ec69259fa95012340b
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Type=dbus
BusName=org.automotive.message.broker
Environment=LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
-ExecStart=/usr/bin/ambd -c /etc/ambd/config.tizen
+ExecStartPre=/usr/sbin/ip link add dev vcan0 type vcan
+ExecStartPre=/usr/sbin/ip link set up vcan0
+ExecStart=/usr/bin/ambd -c /etc/ambd/config
[Install]
WantedBy=multi-user.target
%{_libdir}/%{name}/demosinkplugin.so
%config %{_sysconfdir}/dbus-1/system.d/amb.conf
%{_sysconfdir}/ambd/plugins.d/dbus
-%{_sysconfdir}/ambd/plugins.d/examplesink
-%{_sysconfdir}/ambd/plugins.d/examplesource
+%exclude %{_sysconfdir}/ambd/plugins.d/examplesink
+%exclude %{_sysconfdir}/ambd/plugins.d/examplesource
%files plugins-common
%manifest packaging.in/amb.manifest.plugins