|
![](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 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%global kernel_version_min 4.18.0-80.el8
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
# To pick a specific kernel use `--define "kernel_version 4.18.0-315.el8"`
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
# Otherwise the latest installed kernel-devel version later than
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
# %%{kernel_version_min} will be used.
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%global kernel_version_latest %({ echo %{kernel_version_min}; rpm --query kernel-devel --queryformat '%%{VERSION}-%%{RELEASE}\\\n' | grep -v "package kernel-devel is not installed"; } | sort -V | sed -e '0,/^%{kernel_version_min}$/d' | tail -n 1)
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%if "%{kernel_version_latest}" != ""
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%{!?kernel_version:%{expand:%%global kernel_version %{kernel_version_latest}}}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%endif
|
|
![](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) |
c1f630 |
%global __find_requires %{nil}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%global __find_provides /usr/lib/rpm/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}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Version: 4.18
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
aa06c5 |
Release: 3%{?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 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Source0: %{pkg}-%{version}.tar.xz
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
ExclusiveArch: x86_64 aarch64
|
|
![](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) |
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) |
c1f630 |
%{!?kernel_version:
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
BuildRequires: kernel-devel >= %{kernel_version_min}
|
|
![](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 |
%{?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) |
c1f630 |
Requires: kernel-core = %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Requires: kernel-core-uname-r = %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Requires: kernel-modules = %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
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) |
c1f630 |
Provides: %{name}-%{kernel_version}.%{_arch} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
![](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 |
Requires(post): /usr/sbin/depmod
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Requires(postun): /usr/sbin/depmod
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Requires(post): /usr/bin/dracut
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
Requires(postun): /usr/bin/dracut
|
|
![](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 |
%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
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%autosetup -p1 -n %{pkg}-%{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 |
%{__install} -d %{buildroot}/%{_sysconfdir}/dracut.conf.d/
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
echo "add_drivers+=\" %{pkg} \"" > %{buildroot}/%{_sysconfdir}/dracut.conf.d/%{pkg}.conf
|
|
![](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) |
c1f630 |
touch %{_localstatedir}/lib/rpm-state/sig-kmods/%{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 |
|
|
![](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) |
c1f630 |
touch %{_localstatedir}/lib/rpm-state/sig-kmods/%{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 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%postun
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
if [ -f %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch} ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
if [ -f /lib/modules/%{kernel_version}.%{_arch}/System.map ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
/usr/sbin/depmod -aeF /lib/modules/%{kernel_version}.%{_arch}/System.map %{kernel_version}.%{_arch}
|
|
![](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 |
if [ -f /boot/initramfs-%{kernel_version}.%{_arch}.img ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
if /usr/bin/dracut -f --rebuild /boot/initramfs-%{kernel_version}.%{_arch}.img /boot/initramfs-%{kernel_version}.%{_arch}.img.rpmnew %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
if ! cmp -s /boot/initramfs-%{kernel_version}.%{_arch}.img /boot/initramfs-%{kernel_version}.%{_arch}.img.rpmnew
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
mv /boot/initramfs-%{kernel_version}.%{_arch}.img.rpmnew /boot/initramfs-%{kernel_version}.%{_arch}.img
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
else
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
rm -f /boot/initramfs-%{kernel_version}.%{_arch}.img.rpmnew
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
fi
|
|
![](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 |
rm -f %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch}
|
|
![](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) |
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 |
%posttrans
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
if [ -f %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch} ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
if [ -f /lib/modules/%{kernel_version}.%{_arch}/System.map ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
/usr/sbin/depmod -aeF /lib/modules/%{kernel_version}.%{_arch}/System.map %{kernel_version}.%{_arch}
|
|
![](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 |
if [ -f /boot/initramfs-%{kernel_version}.%{_arch}.img ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
if /usr/bin/dracut -f --rebuild /boot/initramfs-%{kernel_version}.%{_arch}.img /boot/initramfs-%{kernel_version}.%{_arch}.img.rpmnew %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
if ! cmp -s /boot/initramfs-%{kernel_version}.%{_arch}.img /boot/initramfs-%{kernel_version}.%{_arch}.img.rpmnew
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
mv /boot/initramfs-%{kernel_version}.%{_arch}.img.rpmnew /boot/initramfs-%{kernel_version}.%{_arch}.img
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
else
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
rm -f /boot/initramfs-%{kernel_version}.%{_arch}.img.rpmnew
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
fi
|
|
![](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 |
rm -f %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch}
|
|
![](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) |
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) |
c1f630 |
%license COPYING
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
%config(noreplace) %{_sysconfdir}/dracut.conf.d/%{pkg}.conf
|
|
![](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) |
aa06c5 |
* Thu Aug 19 2021 Peter Georg <peter.georg@physik.uni-regensburg.de> - 4.18-3
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
aa06c5 |
- Rebuild for 4.18.0-331.el8
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
aa06c5 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
4fea9a |
* Wed Aug 11 2021 Peter Georg <peter.georg@physik.uni-regensburg.de> - 4.18-2
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
4fea9a |
- Rebuild for 4.18.0-326.el8
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
4fea9a |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
* Mon Aug 9 2021 Peter Georg <peter.georg@physik.uni-regensburg.de> - 4.18-1
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
c1f630 |
- Initial version
|