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 @@ Wants=network.target
[Service]
Type=notify
Restart=always
EnvironmentFile=-/etc/tracing/connman/connman.tracing
EnvironmentFile=-/etc/sysconfig/connman
ExecStart=@sbindir@/connmand -n -W nl80211 --nobacktrace --systemd --noplugin=wifi $TRACING $SYSCONF_ARGS
EnvironmentFile=-/var/lib/environment/connman/*.conf
ExecStart=@sbindir@/connmand -n -W nl80211 --nobacktrace --systemd --noplugin=wifi $SYSCONF_ARGS $CONNMAN_ARGS
StandardOutput=null
[Install]
......
......@@ -6,8 +6,7 @@ Group: Communications/ConnMan
License: GPLv2
URL: http://connman.net/
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/network.target.wants
ln -s ../connman.service %{buildroot}/%{_lib}/systemd/system/network.target.wants/connman.service
......@@ -219,10 +208,6 @@ systemctl daemon-reload || :
%defattr(-,root,root,-)
%{_libdir}/%{name}/tools/*
%files tracing
%defattr(-,root,root,-)
%config %{_sysconfdir}/tracing/connman
%files configs-mer
%defattr(-,root,root,-)
%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