Fix systemd startup ordering (rh #815091)
This commit is contained in:
parent
661e6b910e
commit
bea794b2d0
2
sources
2
sources
@ -1 +1 @@
|
||||
eb3495560baa793f67c423409cc1fd5b wpa_supplicant-1.0-rc2.git20120302.tar.gz
|
||||
8a3134a6df4229877bbd9f577b208ee9 wpa_supplicant-1.0-rc3.tar.gz
|
||||
|
@ -5,7 +5,7 @@ diff -up wpa_supplicant-0.7.3/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.
|
||||
[D-BUS Service]
|
||||
Name=fi.w1.wpa_supplicant1
|
||||
-Exec=@BINDIR@/wpa_supplicant -u
|
||||
+Exec=@SBINDIR@/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -B -u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid
|
||||
+Exec=@BINDIR@/wpa_supplicant -B -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
|
||||
User=root
|
||||
SystemdService=wpa_supplicant.service
|
||||
diff -up wpa_supplicant-0.7.3/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in.fedora wpa_supplicant-0.7.3/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplicant.service.in
|
||||
@ -15,6 +15,6 @@ diff -up wpa_supplicant-0.7.3/wpa_supplicant/dbus/fi.epitest.hostap.WPASupplican
|
||||
[D-BUS Service]
|
||||
Name=fi.epitest.hostap.WPASupplicant
|
||||
-Exec=@BINDIR@/wpa_supplicant -u
|
||||
+Exec=@SBINDIR@/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -B -u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid
|
||||
+Exec=@BINDIR@/wpa_supplicant -B -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
|
||||
User=root
|
||||
SystemdService=wpa_supplicant.service
|
||||
|
@ -1,11 +1,13 @@
|
||||
[Unit]
|
||||
Description=WPA Supplicant daemon
|
||||
After=syslog.target network.target
|
||||
Before=network.target
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Type=dbus
|
||||
BusName=fi.w1.wpa_supplicant1
|
||||
EnvironmentFile=-/etc/sysconfig/wpa_supplicant
|
||||
ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS -B -u $OTHER_ARGS
|
||||
ExecStart=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -1,11 +1,11 @@
|
||||
%define rcver -rc2
|
||||
%define snapshot .git20120302
|
||||
%define rcver -rc3
|
||||
%define snapshot %{nil}
|
||||
|
||||
Summary: WPA/WPA2/IEEE 802.1X Supplicant
|
||||
Name: wpa_supplicant
|
||||
Epoch: 1
|
||||
Version: 1.0
|
||||
Release: 0.3%{?dist}
|
||||
Release: 0.4%{?dist}
|
||||
License: BSD
|
||||
Group: System Environment/Base
|
||||
Source0: http://w1.fi/releases/%{name}-%{version}%{rcver}%{snapshot}.tar.gz
|
||||
@ -111,6 +111,9 @@ pushd wpa_supplicant
|
||||
cp %{SOURCE1} .config
|
||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
|
||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
|
||||
# yes, BINDIR=_sbindir
|
||||
BINDIR="%{_sbindir}" ; export BINDIR ;
|
||||
LIBDIR="%{_libdir}" ; export LIBDIR ;
|
||||
make %{_smp_mflags}
|
||||
%if %{build_gui}
|
||||
QTDIR=%{_libdir}/qt4 make wpa_gui-qt4 %{_smp_mflags}
|
||||
@ -229,6 +232,10 @@ fi
|
||||
%postun -n libeap -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Tue May 1 2012 Dan Williams <dcbw@redhat.com> - 1:1.0-0.4
|
||||
- Update to wpa_supplicant 1.0-rc3
|
||||
- Fix systemd target dependencies (rh #815091)
|
||||
|
||||
* Fri Mar 2 2012 Dan Williams <dcbw@redhat.com> - 1:1.0-0.3
|
||||
- Update to latest 1.0 git snapshot
|
||||
- Rebuild against libnl3
|
||||
|
Loading…
Reference in New Issue
Block a user