Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
SOURCES/driverctl-0.115.tar.bz2
|
/driverctl-0.91-c6e612791aa532626531c203148b07d0fb5ee125.tar.gz
|
||||||
|
/driverctl-0.95-3c668744f2242e453fdcd6dca36d3e1d82d0367a.tar.gz
|
||||||
|
/driverctl-0.101-06ae09c8d09ff62a8b69e45af67fc31974c30244.tar.gz
|
||||||
|
/driverctl-0.115.tar.bz2
|
||||||
|
@ -1,100 +0,0 @@
|
|||||||
Name: driverctl
|
|
||||||
Version: 0.115
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: Device driver control utility
|
|
||||||
|
|
||||||
Group: System Environment/Kernel
|
|
||||||
License: LGPLv2
|
|
||||||
URL: https://gitlab.com/driverctl/driverctl
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
Source0: https://gitlab.com/driverctl/driverctl/-/archive/%{version}/driverctl-%{version}.tar.bz2
|
|
||||||
|
|
||||||
# for udev macros
|
|
||||||
BuildRequires: systemd
|
|
||||||
Requires(post,postun): %{_sbindir}/udevadm
|
|
||||||
Requires: coreutils udev
|
|
||||||
|
|
||||||
%description
|
|
||||||
driverctl is a tool for manipulating and inspecting the system
|
|
||||||
device driver choices.
|
|
||||||
|
|
||||||
Devices are normally assigned to their sole designated kernel driver
|
|
||||||
by default. However in some situations it may be desireable to
|
|
||||||
override that default, for example to try an older driver to
|
|
||||||
work around a regression in a driver or to try an experimental alternative
|
|
||||||
driver. Another common use-case is pass-through drivers and driver
|
|
||||||
stubs to allow userspace to drive the device, such as in case of
|
|
||||||
virtualization.
|
|
||||||
|
|
||||||
driverctl integrates with udev to support overriding
|
|
||||||
driver selection for both cold- and hotplugged devices from the
|
|
||||||
moment of discovery, but can also change already assigned drivers,
|
|
||||||
assuming they are not in use by the system. The driver overrides
|
|
||||||
created by driverctl are persistent across system reboots
|
|
||||||
by default.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q
|
|
||||||
|
|
||||||
%install
|
|
||||||
%make_install
|
|
||||||
|
|
||||||
%files
|
|
||||||
%license COPYING
|
|
||||||
%doc README TODO
|
|
||||||
%{_sbindir}/driverctl
|
|
||||||
%{_udevrulesdir}/*.rules
|
|
||||||
%{_udevrulesdir}/../vfio_name
|
|
||||||
%{_unitdir}/driverctl@.service
|
|
||||||
%dir %{_sysconfdir}/driverctl.d
|
|
||||||
%{_datadir}/bash-completion/
|
|
||||||
%{_mandir}/man8/driverctl.8*
|
|
||||||
|
|
||||||
%post
|
|
||||||
%udev_rules_update
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%udev_rules_update
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Thu Nov 02 2023 Timothy Redaelli <tredaelli@redhat.com> - 0.115-1
|
|
||||||
- Updated to 0.115 (RHEL-11394)
|
|
||||||
|
|
||||||
* Wed Feb 05 2020 Flavio Leitner <fbl@redhat.com> - 0.111-1
|
|
||||||
- Updated to 0.111 (#1798626)
|
|
||||||
|
|
||||||
* Mon Mar 11 2019 Timothy Redaelli <tredaelli@redhat.com> - 0.108-1
|
|
||||||
- Fix bash autocompletion (#1657020)
|
|
||||||
- Fix --no-save to do not always returns with exit code 1
|
|
||||||
- Return error code when unbinding a device from a driver fails
|
|
||||||
|
|
||||||
* Tue Nov 20 2018 Timothy Redaelli <tredaelli@redhat.com> - 0.101-1
|
|
||||||
- Rebase to driverctl-0.101-1.el7 (#1648411):
|
|
||||||
- Fix shellcheck warnings (#1506969)
|
|
||||||
- Install bash-completion as driverctl instead of driverctl-bash-completion.sh
|
|
||||||
- fix load_override for non-PCI bus
|
|
||||||
- Make sure driverctl had loaded all the overrides before basic.target (#1634160)
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 31 2017 Timothy Redaelli <tredaelli@redhat.com> - 0.95-1
|
|
||||||
- Update to 0.95
|
|
||||||
- update URLs to new group-based location
|
|
||||||
|
|
||||||
* Fri Sep 16 2016 Panu Matilainen <pmatilai@redhat.com> - 0.91-1
|
|
||||||
- Use a relative path from udevrulesdir
|
|
||||||
- Use fedorable source url which spectool actually understands
|
|
||||||
- Move bash completions to newer standard in %%{_datadir}/bash-completion
|
|
||||||
- Use %%make_install macro
|
|
||||||
- Require /usr/sbin/udevadm for %%post and %%postun
|
|
||||||
|
|
||||||
* Fri Sep 2 2016 Panu Matilainen <pmatilai@redhat.com> - 0.74-1
|
|
||||||
- Initial package
|
|
143
driverctl.spec
Normal file
143
driverctl.spec
Normal file
@ -0,0 +1,143 @@
|
|||||||
|
Name: driverctl
|
||||||
|
Version: 0.115
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Device driver control utility
|
||||||
|
|
||||||
|
License: LGPLv2
|
||||||
|
URL: https://gitlab.com/driverctl/driverctl
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Source0: https://gitlab.com/driverctl/driverctl/-/archive/%{version}/driverctl-%{version}.tar.bz2
|
||||||
|
|
||||||
|
# for udev macros
|
||||||
|
BuildRequires: systemd
|
||||||
|
BuildRequires: make
|
||||||
|
Requires(post,postun): %{_sbindir}/udevadm
|
||||||
|
Requires: coreutils udev
|
||||||
|
|
||||||
|
%description
|
||||||
|
driverctl is a tool for manipulating and inspecting the system
|
||||||
|
device driver choices.
|
||||||
|
|
||||||
|
Devices are normally assigned to their sole designated kernel driver
|
||||||
|
by default. However in some situations it may be desireable to
|
||||||
|
override that default, for example to try an older driver to
|
||||||
|
work around a regression in a driver or to try an experimental alternative
|
||||||
|
driver. Another common use-case is pass-through drivers and driver
|
||||||
|
stubs to allow userspace to drive the device, such as in case of
|
||||||
|
virtualization.
|
||||||
|
|
||||||
|
driverctl integrates with udev to support overriding
|
||||||
|
driver selection for both cold- and hotplugged devices from the
|
||||||
|
moment of discovery, but can also change already assigned drivers,
|
||||||
|
assuming they are not in use by the system. The driver overrides
|
||||||
|
created by driverctl are persistent across system reboots
|
||||||
|
by default.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README TODO
|
||||||
|
%{_sbindir}/driverctl
|
||||||
|
%{_udevrulesdir}/*.rules
|
||||||
|
%{_udevrulesdir}/../vfio_name
|
||||||
|
%{_unitdir}/driverctl@.service
|
||||||
|
%dir %{_sysconfdir}/driverctl.d
|
||||||
|
%{_datadir}/bash-completion/
|
||||||
|
%{_mandir}/man8/driverctl.8*
|
||||||
|
|
||||||
|
%post
|
||||||
|
%udev_rules_update
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%udev_rules_update
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.115-2
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Tue Jul 23 2024 Timothy Redaelli <tredaelli@redhat.com> - 0.115-1
|
||||||
|
- Updated to 0.115 (RHEL-11393)
|
||||||
|
|
||||||
|
* Tue Jun 25 2024 Timothy Redaelli <tredaelli@redhat.com> - 0.101-16
|
||||||
|
- Import gating from c9s
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.101-15
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Mon Jan 29 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Oct 20 2018 Timothy Redaelli <tredaelli@redhat.com> - 0.101-1
|
||||||
|
- Fix shellcheck warnings
|
||||||
|
- Install bash-completion as driverctl instead of driverctl-bash-completion.sh
|
||||||
|
- fix load_override for non-PCI bus
|
||||||
|
- Make sure driverctl had loaded all the overrides before basic.target
|
||||||
|
|
||||||
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 31 2017 Timothy Redaelli <tredaelli@redhat.com> - 0.95-1
|
||||||
|
- Update to 0.95
|
||||||
|
- update URLs to new group-based location
|
||||||
|
|
||||||
|
* Fri Sep 16 2016 Panu Matilainen <pmatilai@redhat.com> - 0.91-1
|
||||||
|
- Use a relative path from udevrulesdir
|
||||||
|
- Use fedorable source url which spectool actually understands
|
||||||
|
- Move bash completions to newer standard in %%{_datadir}/bash-completion
|
||||||
|
- Use %%make_install macro
|
||||||
|
- Require /usr/sbin/udevadm for %%post and %%postun
|
||||||
|
|
||||||
|
* Fri Sep 2 2016 Panu Matilainen <pmatilai@redhat.com> - 0.74-1
|
||||||
|
- Initial package
|
8
gating.yaml
Normal file
8
gating.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: manual.sst_networking.drivectl.tier1}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user