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 <zhengguang.zhang@intel.com>
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}
%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