From d5faa84b7d55802ce0ada36cd2b2d11b48b481f8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 30 2018 05:15:31 +0000 Subject: import linux-firmware-20180911-69.git85c5d90.el7 --- diff --git a/.gitignore b/.gitignore index d1a2225..46561cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/linux-firmware-20180220.2.tar.gz +SOURCES/linux-firmware-20180911.tar.gz diff --git a/.linux-firmware.metadata b/.linux-firmware.metadata index e3f4176..664d1dd 100644 --- a/.linux-firmware.metadata +++ b/.linux-firmware.metadata @@ -1 +1 @@ -bce0b3cd189cbdfdd1df9ffe58b748bf3f0812de SOURCES/linux-firmware-20180220.2.tar.gz +4a9558a8b5efb8feb3d86bc06003f3c859cebb46 SOURCES/linux-firmware-20180911.tar.gz diff --git a/SPECS/linux-firmware.spec b/SPECS/linux-firmware.spec index d3713d0..76923be 100644 --- a/SPECS/linux-firmware.spec +++ b/SPECS/linux-firmware.spec @@ -1,21 +1,16 @@ -%global checkout 6d51311 -%global zrelease 2 -%global firmware_release 62.%{zrelease} +%global checkout 85c5d90 +%global firmware_release 69 Name: linux-firmware -Version: 20180220 +Version: 20180911 Release: %{firmware_release}.git%{checkout}%{?dist} Summary: Firmware files used by the Linux kernel Group: System Environment/Kernel License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted URL: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/ -# Source0 for zstream must be different from the ystream {version} only by the -# files requested for update and the additional {zrelease} suffix. The easiest -# way I found so far was to basically cherry-pick the changes made by the -# specific commit and manually copy/paste on the Source0 ystream {version} and -# then repackaging it. -Source0: %{name}-%{version}.%{zrelease}.tar.gz +# Source0 creation: "git archive --format=tar [gitid] | gzip > [srcdir]/%{name}-%{version}.tar.gz" +Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0 @@ -263,6 +258,9 @@ rm -rf vxge # Remove the check_whence.py file rm -f check_whence.py +# Remove LiquidIO firmware that violates GPL license (BZ 1637696) +rm -f liquidio/lio_23xx_vsw.bin + %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{fwdir} @@ -282,6 +280,18 @@ sed -i -e '/^iwlwifi/d' \ sed -i -e 's/^/\/usr\/lib\/firmware\//' linux-firmware.{files,dirs} sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files +%post +# This pkg carries AMD microcode and it's important to early enable it in +# case it was updated. Because of that rebuild initrd after this pkg is +# updated and only if it's an AMD CPU. +if [ $1 -gt 1 ]; then + if [ -d /run/systemd/system ]; then + if grep -q AuthenticAMD /proc/cpuinfo ; then + dracut -f + fi + fi +fi + %clean rm -rf $RPM_BUILD_ROOT @@ -386,11 +396,30 @@ rm -rf $RPM_BUILD_ROOT %doc WHENCE LICENCE.* LICENSE.* %changelog -* Wed Jun 06 2018 Bruno E. O. Meneguele 20180220-62.2.git6d51311 -- amd: update microcode for family 15h v2018-05-24 (rhbz 1585939) +* Tue Oct 09 2018 Bruno E. O. Meneguele - 20180911-69.git85c5d90 +- liquidio: remove firmware that violates GPL license (rhbz 1637696) + +* Tue Sep 11 2018 Bruno E. O. Meneguele - 20180911-68.git85c5d90 +- Update to latest upstream linux-firmware image for assorted updates +- nvidia: update firmware for Pascal GPUs (rhbz 1625514) + +* Tue Jul 17 2018 Bruno E. O. Meneguele - 20180717-67.git8d69bab +- Update to latest upstream linux-firmware image for assorted netdrv updates +- chelsio: update firmware to revision 1.20.8.0 (rhbz 1523202) + +* Mon Jun 25 2018 Bruno E. O. Meneguele - 20180529-66.git7518922 +- Only update initrd when the package is being updated (rhbz 1584178) + +* Tue May 29 2018 Bruno E. O. Meneguele - 20180529-65.git7518922 +- Update to latest upstream linux-firmware image for assorted updates +- amd: update microcode for family 15h (rhbz 1574575) + +* Tue May 22 2018 Bruno E. O. Meneguele - 20180518-64.git2a9b2cf +- Add early initramfs update in case of AMD host (rhbz 1580584) -* Tue May 22 2018 Bruno E. O. Meneguele 20180220-62.1.git6d51311 -- amd: add microcode for family 17h and update for family 15h (rhbz 1576321) +* Fri May 18 2018 Bruno E. O. Meneguele - 20180518-63.git2a9b2cf +- Update to latest upstream linux-firmware image for assorted netdrv updates +- amd: add microcode for family 17h and update for family 15h (rhbz 1574575) * Tue Feb 20 2018 Rafael Aquini - 20180220-62.git6d51311 - nfp: NIC stops transmitting for small MSS values when TSO is enabled (rhbz 1542263)