|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%global pkg mvsas
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
Kmods SIG |
036db7 |
%global driver_version 4.18.0-80.el8
|
|
Kmods SIG |
036db7 |
|
|
Kmods SIG |
9437e6 |
%global kernel_version 4.18.0-358.el8
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%global _use_internal_dependency_generator 0
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
%global __find_requires /usr/lib/rpm/redhat/find-requires
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
%global __find_provides /usr/lib/rpm/redhat/find-provides
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%global debug_package %{nil}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%global __spec_install_post \
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%{?__debug_package:%{__debug_install_post}} \
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%{__arch_install_post} \
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%{__os_install_post} \
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%{__mod_compress_install_post}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%global __mod_compress_install_post find %{buildroot}/lib/modules -type f -name \*.ko -exec xz \{\} \\;
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Name: kmod-%{pkg}
|
|
Kmods SIG |
036db7 |
Version: 4.18.0.80
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
Release: 5%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Summary: Marvell 88SE64XX/88SE94XX SAS/SATA Controller (%{pkg}) driver
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
License: GPLv2
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
URL: https://www.kernel.org/
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
Kmods SIG |
036db7 |
Source0: %{pkg}-%{driver_version}.tar.xz
|
|
Kmods SIG |
036db7 |
Patch9999: 9999-enable-mvsas.patch
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
143cc6 |
ExclusiveArch: x86_64 aarch64 ppc64le
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
BuildRequires: elfutils-libelf-devel
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
BuildRequires: gcc
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
BuildRequires: kernel-rpm-macros
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
BuildRequires: kmod
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
BuildRequires: make
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
BuildRequires: redhat-rpm-config
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
BuildRequires: xz
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
BuildRequires: kernel-abi-stablelists = %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
BuildRequires: kernel-devel = %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
BuildRequires: kernel-devel-uname-r = %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
Requires: kernel >= %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
Requires: kernel-uname-r >= %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
Requires: kernel-modules >= %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
Requires: kernel-modules-uname-r >= %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Provides: installonlypkg(kernel-module)
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
Provides: kernel-modules >= %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
Requires(post): %{_sbindir}/depmod
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
Requires(postun): %{_sbindir}/depmod
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
Requires(post): %{_sbindir}/weak-modules
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
Requires(postun): %{_sbindir}/weak-modules
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
%if "%{version}" == "4.18.0.80" && "%{release}" == "3%{?dist}"
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
%if "%{version}" == "4.18.0.80" && "%{release}" == "4%{?dist}"
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-3%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
%if "%{version}" == "4.18.0.80" && "%{release}" == "5%{?dist}"
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-3%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-4%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%description
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
This driver supports Marvell's SAS/SATA 3Gb/s 88SE64XX and 6Gb/s 88SE94XX
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
chip based PCI-E host adapters.
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%prep
|
|
Kmods SIG |
036db7 |
%autosetup -p1 -n %{pkg}-%{driver_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%build
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
pushd src
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%{__make} -C /usr/src/kernels/%{kernel_version}.%{_arch} %{?_smp_mflags} M=$PWD modules
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
popd
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%install
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%{__install} -D -t %{buildroot}/lib/modules/%{kernel_version}.%{_arch}/extra/drivers/scsi/%{pkg} src/%{pkg}.ko
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
# Make .ko objects temporarily executable for automatic stripping
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
find %{buildroot}/lib/modules -type f -name \*.ko -exec chmod u+x \{\} \+
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%clean
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%{__rm} -rf %{buildroot}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%post
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
mkdir -p %{_localstatedir}/lib/rpm-state/sig-kmods
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
printf '%s\n' "/lib/modules/%{kernel_version}.%{_arch}/extra/drivers/scsi/%{pkg}/%{pkg}.ko.xz" >> %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-add
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%preun
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
mkdir -p %{_localstatedir}/lib/rpm-state/sig-kmods
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
rpm -ql kmod-%{pkg}-%{?epoch:%{epoch}:}%{version}-%{release}.%{_arch} | grep '/lib/modules/%{kernel_version}.%{_arch}/.*\.ko\.xz$' >> %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-remove
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%postun
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
if [ -f %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-remove ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
modules=( $(cat %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-remove) )
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
rm -f %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-remove
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
rmdir --ignore-fail-on-non-empty %{_localstatedir}/lib/rpm-state/sig-kmods
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
printf '%s\n' "${modules[@]}" | %{_sbindir}/weak-modules --remove-modules
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
%pretrans -p <lua>
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
posix.unlink("%{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-add")
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
posix.unlink("%{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-remove")
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%posttrans
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
if [ -f %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-add ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
modules=( $(cat %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-add) )
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
rm -f %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-add
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
rmdir --ignore-fail-on-non-empty %{_localstatedir}/lib/rpm-state/sig-kmods
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
73d6c6 |
printf '%s\n' "${modules[@]}" | %{_sbindir}/weak-modules --add-modules
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%files
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%defattr(644,root,root,755)
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
/lib/modules/%{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f2d270 |
%license LICENSES
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
* Thu Jan 27 2022 Peter Georg <peter.georg@physik.uni-regensburg.de> - 4.18.0.80-5
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
- Add obsoletes for update path
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
05a5ec |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
41ac44 |
* Wed Jan 26 2022 Peter Georg <peter.georg@physik.uni-regensburg.de> - 4.18.0.80-4
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
41ac44 |
- Drop dracut conf
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
41ac44 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
143cc6 |
* Sat Jan 22 2022 Peter Georg <peter.georg@physik.uni-regensburg.de> - 4.18.0.80-3
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
143cc6 |
- Enable ppc64le
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
143cc6 |
|
|
Kmods SIG |
9437e6 |
* Mon Jan 17 2022 Kmods SIG <sig-kmods@centosproject.org> - 4.18.0.80-2
|
|
Kmods SIG |
9437e6 |
- Rebuild for 4.18.0-358.el8
|
|
Kmods SIG |
9437e6 |
|
|
Kmods SIG |
036db7 |
* Wed Jan 12 2022 Kmods SIG <sig-kmods@centosproject.org> - 4.18.0.80-1
|
|
Kmods SIG |
036db7 |
- Switch to EL kernel source and versioning
|
|
Kmods SIG |
036db7 |
- kABI tracking kmod package (kernel >= 4.18.0-348.el8)
|