|
|
ab55b0 |
Name: driverctl
|
|
|
ab55b0 |
Version: 0.111
|
|
|
ab55b0 |
Release: 2%{?dist}
|
|
|
ab55b0 |
Summary: Device driver control utility
|
|
|
ab55b0 |
|
|
|
ab55b0 |
License: LGPLv2
|
|
|
ab55b0 |
URL: https://gitlab.com/driverctl/driverctl
|
|
|
ab55b0 |
BuildArch: noarch
|
|
|
ab55b0 |
|
|
|
ab55b0 |
# rpm doesn't grok the gitlab url but spectool understands this monster
|
|
|
ab55b0 |
Source0: https://gitlab.com/driverctl/%{name}/-/archive/%{version}/driverctl-%{version}.tar.gz
|
|
|
ab55b0 |
|
|
|
ab55b0 |
# for udev macros
|
|
|
ab55b0 |
BuildRequires: systemd
|
|
|
ab55b0 |
BuildRequires: make
|
|
|
ab55b0 |
Requires(post,postun): %{_sbindir}/udevadm
|
|
|
ab55b0 |
Requires: coreutils udev
|
|
|
ab55b0 |
|
|
|
ab55b0 |
%description
|
|
|
ab55b0 |
driverctl is a tool for manipulating and inspecting the system
|
|
|
ab55b0 |
device driver choices.
|
|
|
ab55b0 |
|
|
|
ab55b0 |
Devices are normally assigned to their sole designated kernel driver
|
|
|
ab55b0 |
by default. However in some situations it may be desireable to
|
|
|
ab55b0 |
override that default, for example to try an older driver to
|
|
|
ab55b0 |
work around a regression in a driver or to try an experimental alternative
|
|
|
ab55b0 |
driver. Another common use-case is pass-through drivers and driver
|
|
|
ab55b0 |
stubs to allow userspace to drive the device, such as in case of
|
|
|
ab55b0 |
virtualization.
|
|
|
ab55b0 |
|
|
|
ab55b0 |
driverctl integrates with udev to support overriding
|
|
|
ab55b0 |
driver selection for both cold- and hotplugged devices from the
|
|
|
ab55b0 |
moment of discovery, but can also change already assigned drivers,
|
|
|
ab55b0 |
assuming they are not in use by the system. The driver overrides
|
|
|
ab55b0 |
created by driverctl are persistent across system reboots
|
|
|
ab55b0 |
by default.
|
|
|
ab55b0 |
|
|
|
ab55b0 |
%prep
|
|
|
ab55b0 |
%setup -q -n %{name}-%{version}
|
|
|
ab55b0 |
|
|
|
ab55b0 |
%install
|
|
|
ab55b0 |
%make_install
|
|
|
ab55b0 |
|
|
|
ab55b0 |
%files
|
|
|
ab55b0 |
%license COPYING
|
|
|
ab55b0 |
%doc README TODO
|
|
|
ab55b0 |
%{_sbindir}/driverctl
|
|
|
ab55b0 |
%{_udevrulesdir}/*.rules
|
|
|
ab55b0 |
%{_udevrulesdir}/../vfio_name
|
|
|
ab55b0 |
%{_unitdir}/driverctl@.service
|
|
|
ab55b0 |
%dir %{_sysconfdir}/driverctl.d
|
|
|
ab55b0 |
%{_datadir}/bash-completion/
|
|
|
ab55b0 |
%{_mandir}/man8/driverctl.8*
|
|
|
ab55b0 |
|
|
|
ab55b0 |
%post
|
|
|
ab55b0 |
%udev_rules_update
|
|
|
ab55b0 |
|
|
|
ab55b0 |
%postun
|
|
|
ab55b0 |
%udev_rules_update
|
|
|
ab55b0 |
|
|
|
ab55b0 |
%changelog
|
|
|
ab55b0 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.111-2
|
|
|
ab55b0 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
ab55b0 |
Related: rhbz#1991688
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Thu Jun 10 2021 Flavio Leitner <fbl@redhat.com> - 0.111-1
|
|
|
ab55b0 |
- Updated to 0.111 (bz#1958169)
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.101-7
|
|
|
ab55b0 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-6
|
|
|
ab55b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-5
|
|
|
ab55b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-4
|
|
|
ab55b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-3
|
|
|
ab55b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-2
|
|
|
ab55b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Sat Oct 20 2018 Timothy Redaelli <tredaelli@redhat.com> - 0.101-1
|
|
|
ab55b0 |
- Fix shellcheck warnings
|
|
|
ab55b0 |
- Install bash-completion as driverctl instead of driverctl-bash-completion.sh
|
|
|
ab55b0 |
- fix load_override for non-PCI bus
|
|
|
ab55b0 |
- Make sure driverctl had loaded all the overrides before basic.target
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-5
|
|
|
ab55b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-4
|
|
|
ab55b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-3
|
|
|
ab55b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-2
|
|
|
ab55b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Tue Jan 31 2017 Timothy Redaelli <tredaelli@redhat.com> - 0.95-1
|
|
|
ab55b0 |
- Update to 0.95
|
|
|
ab55b0 |
- update URLs to new group-based location
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Fri Sep 16 2016 Panu Matilainen <pmatilai@redhat.com> - 0.91-1
|
|
|
ab55b0 |
- Use a relative path from udevrulesdir
|
|
|
ab55b0 |
- Use fedorable source url which spectool actually understands
|
|
|
ab55b0 |
- Move bash completions to newer standard in %%{_datadir}/bash-completion
|
|
|
ab55b0 |
- Use %%make_install macro
|
|
|
ab55b0 |
- Require /usr/sbin/udevadm for %%post and %%postun
|
|
|
ab55b0 |
|
|
|
ab55b0 |
* Fri Sep 2 2016 Panu Matilainen <pmatilai@redhat.com> - 0.74-1
|
|
|
ab55b0 |
- Initial package
|