import linux-firmware-20220726-111.git150864a4.el8_7

This commit is contained in:
CentOS Sources 2023-04-04 06:29:25 +00:00 committed by Stepan Oksanichenko
parent b00872cfd4
commit 4fcde8f7e9
3 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/linux-firmware-20220726.tar.xz
SOURCES/yellow_carp_dmcub.bin

View File

@ -1 +1,2 @@
f5ea7c14f9f3fdd302f23834871a1c2d43ac2a15 SOURCES/linux-firmware-20220726.tar.xz
e5f890a55d4d39860c9f051e030841a08084857b SOURCES/yellow_carp_dmcub.bin

View File

@ -1,6 +1,6 @@
%global checkout 150864a4
%global firmware_release 110
%global firmware_release 111
%global _firmwarepath /usr/lib/firmware
%define _binaries_in_noarch_packages_terminate_build 0
@ -18,6 +18,8 @@ BuildArch: noarch
# This is still causing problems in RHEL9 (see bug 1959913) and because of that we should keep out of RHEL8 too
# 2) git archive --worktree-attributes --format=tar --prefix=linux-firmware-%%{checkout}/ %%{checkout} | xz > linux-firmware-%%{version}.tar.xz
Source0: %{name}-%{version}.tar.xz
# Updated AMD GPU firmware from linux-firmware commit ba115d4589ee2792f00b779aab3ea00de7911f30
Source1: yellow_carp_dmcub.bin
Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0
Obsoletes: kernel-firmware < %{version} xorg-x11-drv-ati-firmware < 6.13.0-0.22
@ -278,6 +280,9 @@ mkdir -p $RPM_BUILD_ROOT/%{_firmwarepath}
mkdir -p $RPM_BUILD_ROOT/%{_firmwarepath}/updates
make DESTDIR=%{buildroot}/ FIRMWAREDIR=%{_firmwarepath} install
# Copy updated AMD GPU firmware into place
cp %{SOURCE1} $RPM_BUILD_ROOT/%{_firmwarepath}/amdgpu/
pushd $RPM_BUILD_ROOT/%{_firmwarepath}
# Remove firmware shipped in separate packages already
# Perhaps these should be built as subpackages of linux-firmware?
@ -428,6 +433,9 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
%config(noreplace) %{_firmwarepath}/netronome/nic_AMDA*
%changelog
* Fri Feb 17 2023 Jarod Wilson <jarod@redhat.com> - 20220726-111.git150864a4
- Update AMD GPU firmware for multiple monitor fixes (rhbz 2165148)
* Tue Jul 26 2022 Jarod Wilson <jarod@redhat.com> - 20220726-110.git150864a4
- Omit unused password-protected vxge firmware files from package (rhbz 2108051)
- Pick up latest AMD GPU firmwares