Accepting request 184277 from home:jeff_mahoney:branches:Kernel:HEAD

- Moved amd-ucode from microcode_ctl into new ucode-amd package.

OBS-URL: https://build.opensuse.org/request/show/184277
OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=66
This commit is contained in:
Jeff Mahoney 2013-07-24 23:43:59 +00:00 committed by Git OBS Bridge
parent 0b2d91c81e
commit d9b4ac76c5
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 24 23:21:22 UTC 2013 - jeffm@suse.com
- Moved amd-ucode from microcode_ctl into new ucode-amd package.
-------------------------------------------------------------------
Fri Jul 19 13:21:50 UTC 2013 - jeffm@suse.com

View File

@ -71,7 +71,14 @@ This package contains the firmware for in-kernel drivers that was
previously included in the kernel. It is shared by all kernels >=
2.6.27-rc1.
%package -n ucode-amd
Supplements: modalias(x86cpu:vendor:0002:family:*:model:*:feature:*)
Summary: Microcode updates for AMD CPUs
Group: System/Kernel
%description -n ucode-amd
This package contains the microcode files used by AMD CPUs.
%prep
%setup -q -c kernel-firmware -a 2
@ -88,6 +95,10 @@ rm -f %{buildroot}/lib/firmware/WHENCE
bash %_sourcedir/firmware.sh --kill-duplicates %buildroot/lib/firmware/
%fdupes %{buildroot}
rm -f find_supplements.cache
# In alsa-firmware
rm -f %{buildroot}/lib/firmware/ctefx.bin
rm -f %{buildroot}/lib/firmware/ctspeq.bin
# Devel files
rm -rf %{buildroot}/lib/firmware/carl9170fw
%clean
@ -96,6 +107,13 @@ rm -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%doc WHENCE README GPL-3 LICENCE.*
%exclude /lib/firmware/amd-ucode/microcode_amd.bin
%exclude /lib/firmware/amd-ucode/microcode_amd_fam15h.bin
/lib/firmware/*
%files -n ucode-amd
%defattr(0644,root,root,0755)
/lib/firmware/amd-ucode/microcode_amd.bin
/lib/firmware/amd-ucode/microcode_amd_fam15h.bin
%changelog