Accepting request 563888 from home:trenn:branches:Base:System
- Fix URL to point to latest microcode on Intel web site - Fix double size/content microcode bug (bsc#1075680) - Add an overview of provided Intel processor microcodes for: family, model, stepping and the revision in: /usr/share/doc/packages/ucode-intel/microcode_revisions.txt OBS-URL: https://build.opensuse.org/request/show/563888 OBS-URL: https://build.opensuse.org/package/show/Base:System/ucode-intel?expand=0&rev=56
This commit is contained in:
parent
10e04d0a77
commit
e0d61b2a4b
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 16:23:02 UTC 2018 - trenn@suse.de
|
||||
|
||||
- Fix URL to point to latest microcode on Intel web site
|
||||
- Fix double size/content microcode bug (bsc#1075680)
|
||||
- Add an overview of provided Intel processor microcodes for:
|
||||
family, model, stepping and the revision in:
|
||||
/usr/share/doc/packages/ucode-intel/microcode_revisions.txt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 15:15:42 UTC 2018 - trenn@suse.de
|
||||
|
||||
|
@ -24,7 +24,7 @@ License: SUSE-Firmware
|
||||
Group: Hardware/Other
|
||||
BuildRequires: suse-module-tools
|
||||
#License is: Intel Software License Agreement
|
||||
Url: https://downloadcenter.intel.com/download/25512/Linux-Processor-Microcode-Data-File
|
||||
Url: https://downloadcenter.intel.com/download/27431/Linux-Processor-Microcode-Data-File
|
||||
Source0: microcode-%{version}.tgz
|
||||
Source1: intel-microcode2ucode.c
|
||||
Source2: LICENSE
|
||||
@ -43,7 +43,17 @@ cp %{SOURCE2} .
|
||||
|
||||
%build
|
||||
%{__cc} -fwhole-program %{optflags} %{SOURCE1} -o generate_microcode
|
||||
./generate_microcode microcode.dat
|
||||
# Microcodes are already splitted up in family-model-stepping files inside
|
||||
# the tarball nowadays. Still generate them from microcode.dat once into
|
||||
# tmp directory for retrieving revisions from output.
|
||||
# Do not do this in the original directory or microcodes are appended and
|
||||
# have duplicate content while still working.
|
||||
OPWD=$PWD
|
||||
TMP=$(mktemp -d)
|
||||
cd $TMP
|
||||
$OPWD/generate_microcode $OPWD/microcode.dat >$OPWD/microcode_revisions.txt
|
||||
cd $OPWD
|
||||
rm -rf $TMP
|
||||
|
||||
%install
|
||||
install -D -m 0755 generate_microcode %{buildroot}%{_bindir}/generate_microcode
|
||||
@ -63,6 +73,7 @@ done
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE
|
||||
%doc microcode_revisions.txt
|
||||
%{_bindir}/generate_microcode
|
||||
/lib/firmware/intel-ucode/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user