Commit 3be2ed4d authored by Slava Monich's avatar Slava Monich

[connman] Dropped connman-tracing package

These days there are better ways to collect traces from connman.

Enabling traces at startup involves some additional command line action
anyway (e.g. lifting journald limits so that messages don't get dropped)
and with that in mind, installing a package just to add -d to the command
line makes very little sense. A person capable of collecting connman traces
at startup should be able to directly edit the connman.service file. And
it's probably easier for such a person to edit the file than to install
a package.
parent 8cc9da90
......@@ -8,9 +8,9 @@
ExecStart=@sbindir@/connmand -n -W nl80211 --nobacktrace --systemd --noplugin=wifi $TRACING $SYSCONF_ARGS
ExecStart=@sbindir@/connmand -n -W nl80211 --nobacktrace --systemd --noplugin=wifi $SYSCONF_ARGS $CONNMAN_ARGS
......@@ -6,8 +6,7 @@ Group: Communications/ConnMan
License: GPLv2
Source0: %{name}-%{version}.tar.bz2
Source1: connman.tracing
Source2: main.conf
Source1: main.conf
Requires: dbus >= 1.4
Requires: wpa_supplicant >= 0.7.1
Requires: ofono
......@@ -77,14 +76,6 @@ Requires: %{name} = %{version}-%{release}
%description tools
Programs for debugging Connman
%package tracing
Summary: Configuration for Connection Manager to enable tracing
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
%description tracing
Will enable tracing for ConnMan
%package configs-mer
Summary: Package to provide default configs for connman
Group: Development/Tools
......@@ -150,10 +141,8 @@ cp -a tools/*-test %{buildroot}%{_libdir}/%{name}/tools
cp -a tools/iptables-unit %{buildroot}%{_libdir}/%{name}/tools
cp -a tools/wispr %{buildroot}%{_libdir}/%{name}/tools
mkdir -p %{buildroot}%{_sysconfdir}/tracing/connman/
cp -a %{SOURCE1} %{buildroot}%{_sysconfdir}/tracing/connman/
mkdir -p %{buildroot}%{_sysconfdir}/connman/
cp -a %{SOURCE2} %{buildroot}%{_sysconfdir}/connman/
cp -a %{SOURCE1} %{buildroot}%{_sysconfdir}/connman/
mkdir -p %{buildroot}/%{_lib}/systemd/system/
ln -s ../connman.service %{buildroot}/%{_lib}/systemd/system/
......@@ -219,10 +208,6 @@ systemctl daemon-reload || :
%files tracing
%config %{_sysconfdir}/tracing/connman
%files configs-mer
%config %{_sysconfdir}/connman/main.conf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment