From 2e5534717e17884761585f0ca0b824d785ad9782 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:56:13 +0100 Subject: [PATCH] package created using the webbuild interface [release 20220510-1mamba;Sun Jun 05 2022] --- README.md | 2 ++ intel-ucode.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 intel-ucode.spec diff --git a/README.md b/README.md index b5282eb..cd0cdae 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # intel-ucode +Intel Processor Microcode Package for Linux. + diff --git a/intel-ucode.spec b/intel-ucode.spec new file mode 100644 index 0000000..458f220 --- /dev/null +++ b/intel-ucode.spec @@ -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 +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 20220510-1mamba +- package created using the webbuild interface