Add default config file (28-6)
External modules packaging depends on the search order provided by RHEL default config which is missing now from CentOS Stream. Add and install the file. Revision update, 28-6. Resolves: rhbz#1985100 Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
This commit is contained in:
parent
30777827f8
commit
6576f848b8
6
depmod.conf.dist
Normal file
6
depmod.conf.dist
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#
|
||||||
|
# depmod.conf
|
||||||
|
#
|
||||||
|
|
||||||
|
# override default search ordering for kmod packaging
|
||||||
|
search updates extra built-in weak-updates
|
@ -1,12 +1,13 @@
|
|||||||
Name: kmod
|
Name: kmod
|
||||||
Version: 28
|
Version: 28
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Linux kernel module management utilities
|
Summary: Linux kernel module management utilities
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
|
URL: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
|
||||||
Source0: https://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz
|
Source0: https://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz
|
||||||
Source1: weak-modules
|
Source1: weak-modules
|
||||||
|
Source2: depmod.conf.dist
|
||||||
Exclusiveos: Linux
|
Exclusiveos: Linux
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -78,6 +79,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d
|
||||||
|
|
||||||
install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules
|
install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules
|
||||||
|
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{_sysconfdir}/depmod.d
|
%dir %{_sysconfdir}/depmod.d
|
||||||
@ -92,6 +94,7 @@ install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules
|
|||||||
%{_sbindir}/depmod
|
%{_sbindir}/depmod
|
||||||
%{_sbindir}/weak-modules
|
%{_sbindir}/weak-modules
|
||||||
%{_datadir}/bash-completion/
|
%{_datadir}/bash-completion/
|
||||||
|
%{_sysconfdir}/depmod.d/dist.conf
|
||||||
%attr(0644,root,root) %{_mandir}/man5/*.5*
|
%attr(0644,root,root) %{_mandir}/man5/*.5*
|
||||||
%attr(0644,root,root) %{_mandir}/man8/*.8*
|
%attr(0644,root,root) %{_mandir}/man8/*.8*
|
||||||
%doc NEWS README TODO
|
%doc NEWS README TODO
|
||||||
@ -106,6 +109,10 @@ install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules
|
|||||||
%{_libdir}/libkmod.so
|
%{_libdir}/libkmod.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 10 2021 Yauheni Kaliuta <ykaliuta@redhat.com> - 28-6
|
||||||
|
- add default config.
|
||||||
|
Resolves: rhbz#1985100
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 28-5
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 28-5
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user