disable random mac address in NetworkManager configuration to fix driver unsupported set-hw-addr [release 20161026git-3mamba;Thu Mar 02 2017]
This commit is contained in:
parent
52f7bfbdf0
commit
ac2fa19f35
@ -1,6 +1,6 @@
|
|||||||
Name: rtl8723bs
|
Name: rtl8723bs
|
||||||
Version: 20161026git
|
Version: 20161026git
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: Realtek SDIO Wi-Fi driver
|
Summary: Realtek SDIO Wi-Fi driver
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -59,6 +59,12 @@ REMAKE_INITRD=no
|
|||||||
AUTOINSTALL=yes
|
AUTOINSTALL=yes
|
||||||
_EOF
|
_EOF
|
||||||
|
|
||||||
|
install -d -m0755 %{buildroot}%{_sysconfdir}/NetworkManager/conf.d
|
||||||
|
cat > %{buildroot}%{_sysconfdir}/NetworkManager/conf.d/20-r8723bs-no-rand-mac-address.conf << _EOF
|
||||||
|
[device]
|
||||||
|
wifi.scan-rand-mac-address=no
|
||||||
|
_EOF
|
||||||
|
|
||||||
%check
|
%check
|
||||||
for d in /lib/modules/4.*/build; do
|
for d in /lib/modules/4.*/build; do
|
||||||
kver=`echo $d|sed "s|/lib/modules/\(.*\)/build.*|\1|"`
|
kver=`echo $d|sed "s|/lib/modules/\(.*\)/build.*|\1|"`
|
||||||
@ -90,11 +96,15 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_sysconfdir}/NetworkManager/conf.d/20-r8723bs-no-rand-mac-address.conf
|
||||||
%dir %{_prefix}/src/%{name}-%{version}
|
%dir %{_prefix}/src/%{name}-%{version}
|
||||||
%{_prefix}/src/%{name}-%{version}/*
|
%{_prefix}/src/%{name}-%{version}/*
|
||||||
/lib/firmware/rtlwifi/rtl8723bs_*.bin
|
/lib/firmware/rtlwifi/rtl8723bs_*.bin
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 02 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20161026git-3mamba
|
||||||
|
- disable random mac address in NetworkManager configuration to fix driver unsupported set-hw-addr
|
||||||
|
|
||||||
* Tue Jan 31 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20161026git-2mamba
|
* Tue Jan 31 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20161026git-2mamba
|
||||||
- install firmware files in /lib/firwmare/rtlwifi
|
- install firmware files in /lib/firwmare/rtlwifi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user