summaryrefslogtreecommitdiff
path: root/packaging/connman.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/connman.spec')
-rwxr-xr-xpackaging/connman.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index 953d5184..b37b1358 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -172,7 +172,12 @@ cp resources/var/lib/connman/settings %{buildroot}/%{_localstatedir}/lib/connman
mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services
cp resources/usr/share/dbus-1/system-services/net.connman.service %{buildroot}%{_datadir}/dbus-1/system-services/net.connman.service
mkdir -p %{buildroot}/etc/connman
+
+%if "%{profile}" == "ivi"
+cp src/main_ivi.conf %{buildroot}/etc/connman/main.conf
+%else
cp src/main.conf %{buildroot}/etc/connman/main.conf
+%endif
rm %{buildroot}%{_sysconfdir}/dbus-1/system.d/*.conf
mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d/