[PATCH] intel-microcode: add new package

Arne Fitzenreiter arne_f at ipfire.org
Sat Jun 22 11:16:52 BST 2019


Signed-off-by: Arne Fitzenreiter <arne_f at ipfire.org>
---
 intel-microcode/intel-microcode.nm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 intel-microcode/intel-microcode.nm

diff --git a/intel-microcode/intel-microcode.nm b/intel-microcode/intel-microcode.nm
new file mode 100644
index 0000000..1232a93
--- /dev/null
+++ b/intel-microcode/intel-microcode.nm
@@ -0,0 +1,40 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info at ipfire.org>                   #
+###############################################################################
+
+name       = intel-microcode
+version    = 20190618
+release    = 1
+arch       = noarch
+thisapp    = microcode-%{version}
+
+maintainer = Arne Fitzenreiter <arne.fitzenreiter at ipfire.org>
+groups     = System/Libraries
+url        = https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases
+license    = Non-GPL
+summary    = Microcode update for Intel CPU's.
+
+description
+	intel-microcode provides some binaries that
+	are loaded into the Intel CPU at startup.
+end
+
+source_dl  = https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/
+
+build
+	build
+		: # Nothing to do.
+	end
+
+	DIR_APP = %{DIR_SRC}/Intel-Linux-Processor-Microcode-Data-Files-%{thisapp}
+
+	install
+		mkdir -pv %{BUILDROOT}%{prefix}/lib/firmware
+		cp -prv intel-ucode %{BUILDROOT}%{prefix}/lib/firmware
+	end
+end
+
+packages
+	package %{name}
+end
-- 
2.6.3



More information about the Development mailing list