55 lines
1.8 KiB
RPMSpec
55 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package kernel-firmware-megaraid_sas
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%if 0%{?suse_version} < 1550
|
|
%define _firmwaredir /lib/firmware
|
|
%endif
|
|
%define __ksyms_path ^%{_firmwaredir}
|
|
%define git_version aaae2fb60f75b07d9c249ebe668524f7ddf51243
|
|
|
|
Name: kernel-firmware-megaraid_sas
|
|
Version: 20250206
|
|
Release: 0
|
|
Summary: Kernel firmware files for megaraid_sas driver
|
|
License: SUSE-Firmware AND GPL-2.0-or-later AND GPL-2.0-only
|
|
Group: System/Kernel
|
|
URL: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
|
|
# URL: https://github.com/openSUSE/kernel-firmware-tools/
|
|
Source1: irqbalance_service.env
|
|
BuildArch: noarch
|
|
# Load on all PCI_VENDOR_ID_LSI_LOGIC 0x1000
|
|
Supplements: modalias(pci:v00001000*sv*sd*bc*sc*i*)
|
|
%{?systemd_ordering}
|
|
|
|
%description
|
|
This package contains a irqbalance blacklist workaround for megaraid_sas driven PCI cards
|
|
|
|
%prep
|
|
|
|
%build
|
|
# nothing to do
|
|
|
|
%install
|
|
install -D -m 0644 %{S:1} %{buildroot}/%{_unitdir}/irqbalance.service.d/bug1238559.conf
|
|
|
|
%files
|
|
%dir %{_unitdir}/irqbalance.service.d
|
|
%{_unitdir}/irqbalance.service.d/bug1238559.conf
|
|
|
|
%changelog
|