From cec997fc07d2c83bb6b50478c0fc69a881999e08 Mon Sep 17 00:00:00 2001 From: Zhang zhengguang Date: Fri, 21 Mar 2014 15:17:31 +0800 Subject: [PATCH] Remove unused resolv.conf ConnMan will copy a resolv.conf file to /etc which is used for DNS resolution, it doesn't need for net-config to copy another resolv.conf to /opt/etc, which is confusing and not necessary, so remove it from the net-config package. Change-Id: If924ebf9790b8992ff1fb21fbf37a73e4815ba48 Signed-off-by: Zhang zhengguang --- packaging/net-config.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/packaging/net-config.spec b/packaging/net-config.spec index 300e344..a39a659 100644 --- a/packaging/net-config.spec +++ b/packaging/net-config.spec @@ -40,8 +40,6 @@ mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services cp resources/usr/share/dbus-1/services/net.netconfig.service %{buildroot}%{_datadir}/dbus-1/system-services/net.netconfig.service mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d cp resources/etc/dbus-1/system.d/net-config.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/net-config.conf -mkdir -p %{buildroot}/opt/etc -cp resources/opt/etc/resolv.conf %{buildroot}/opt/etc/resolv.conf # Systemd service file mkdir -p %{buildroot}%{_unitdir} @@ -102,7 +100,6 @@ fi %files %manifest %{name}.manifest %{_sbindir}/* -%attr(644,root,root) /opt/etc/resolv.conf %{_datadir}/dbus-1/system-services/* %{_sysconfdir}/dbus-1/system.d/* %{_unitdir}/net-config.service -- 2.7.4