package created using the webbuild interface [release 20220510-1mamba;Sun Jun 05 2022]
This commit is contained in:
parent
759760ad8e
commit
2e5534717e
41
intel-ucode.spec
Normal file
41
intel-ucode.spec
Normal file
@ -0,0 +1,41 @@
|
||||
Name: intel-ucode
|
||||
Version: 20220510
|
||||
Release: 1mamba
|
||||
Summary: Intel Processor Microcode Package for Linux
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files
|
||||
Source: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/refs/tags/microcode-%{version}.tar.gz
|
||||
License: Distributable
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: iucode-tool
|
||||
|
||||
%description
|
||||
Intel Processor Microcode Package for Linux.
|
||||
|
||||
%prep
|
||||
%setup -q -n Intel-Linux-Processor-Microcode-Data-Files-microcode-%{version}
|
||||
|
||||
%build
|
||||
rm -f intel-ucode{,-with-caveats}/list
|
||||
mkdir -p kernel/x86/microcode
|
||||
%{_sbindir}/iucode_tool --write-earlyfw=intel-ucode.img intel-ucode{,-with-caveats}/
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -D -m0644 intel-ucode.img %{buildroot}/boot/intel-ucode.img
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/boot/intel-ucode.img
|
||||
%doc license
|
||||
|
||||
%changelog
|
||||
* Sun Jun 05 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 20220510-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user