summaryrefslogtreecommitdiff
path: root/packaging/connman.spec
diff options
context:
space:
mode:
authorSangjung Woo <sangjung.woo@samsung.com>2016-10-10 20:48:45 +0900
committerSangjung Woo <sangjung.woo@samsung.com>2016-10-10 20:48:45 +0900
commit3bc354d272103da56f15ab57181718668d0b1041 (patch)
tree5df7f38c496c8ce9f1962a9f42367328a55cd8eb /packaging/connman.spec
parenta41da5aab565ad5a682aad5142379aae398bb5ba (diff)
downloadconnman-3bc354d272103da56f15ab57181718668d0b1041.tar.gz
connman-3bc354d272103da56f15ab57181718668d0b1041.tar.bz2
connman-3bc354d272103da56f15ab57181718668d0b1041.zip
Spec: Add eth0 device as NetworkInterfaceBlacklist in ivi profile.
In order to communicate with Cluster device, this patch set eth0 as NetworkInterfaceBlacklist member in connman configuration. This patch is only applied for ivi profile. Change-Id: If340dda5702973b470a78375370bc43180b2b53a Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
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/