Allowed UHD to boost the thread's scheduling priority
Resolves: rhbz#781540
This commit is contained in:
parent
08f4c58631
commit
907efa0cb6
|
@ -0,0 +1,5 @@
|
|||
# Required for better USRP performance, see:
|
||||
# http://files.ettus.com/uhd_docs/manual/html/general.html#threading-notes
|
||||
# http://bugzilla.redhat.com/show_bug.cgi?id=781540
|
||||
|
||||
@usrp - rtprio 99
|
10
uhd.spec
10
uhd.spec
|
@ -9,7 +9,7 @@
|
|||
Name: uhd
|
||||
URL: http://code.ettus.com/redmine/ettus/projects/uhd/wiki
|
||||
Version: 3.3.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv3+
|
||||
BuildRequires: cmake
|
||||
BuildRequires: boost-devel libusb1-devel python-cheetah
|
||||
|
@ -19,6 +19,7 @@ Requires: tkinter
|
|||
Group: Applications/Engineering
|
||||
Summary: Universal Hardware Driver for Ettus Research products
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: %{name}-limits.conf
|
||||
|
||||
%description
|
||||
The UHD is the universal hardware driver for Ettus Research products.
|
||||
|
@ -59,6 +60,8 @@ popd
|
|||
mkdir _tmpdoc
|
||||
mv %{buildroot}%{_docdir}/%{name}/{AUTHORS.txt,LICENSE.txt,README.txt} _tmpdoc
|
||||
|
||||
install -m 644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/security/limits.d/99-usrp.conf
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
@ -87,6 +90,7 @@ getent group usrp >/dev/null || groupadd -r usrp >/dev/null
|
|||
%{_bindir}/uhd_find_devices
|
||||
%{_bindir}/uhd_usrp_probe
|
||||
%config(noreplace) %{_sysconfdir}/udev/rules.d/10-usrp-uhd.rules
|
||||
%config(noreplace) %{_sysconfdir}/security/limits.d/*.conf
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libexecdir}/uhd
|
||||
|
||||
|
@ -99,6 +103,10 @@ getent group usrp >/dev/null || groupadd -r usrp >/dev/null
|
|||
%doc %{_docdir}/%{name}/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 10 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 3.3.1-3
|
||||
- Allowed UHD to boost the thread's scheduling priority
|
||||
Resolves: rhbz#781540
|
||||
|
||||
* Wed Jan 11 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 3.3.1-2
|
||||
- Minor tweaks to %%pre scriptlet
|
||||
- Fixed udev rules
|
||||
|
|
Loading…
Reference in New Issue