From 9e99e0eae7cbc731b47ceafb832f37f2543203f1 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 20 Feb 2020 17:07:34 +0100 Subject: [PATCH] intel_microcode: new recipe --- .../intel_microcode-20191115.recipe | 26 +++++++++++++ .../licenses/Intel CPU Microcode | 37 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 sys-firmware/intel-microcode/intel_microcode-20191115.recipe create mode 100644 sys-firmware/intel-microcode/licenses/Intel CPU Microcode diff --git a/sys-firmware/intel-microcode/intel_microcode-20191115.recipe b/sys-firmware/intel-microcode/intel_microcode-20191115.recipe new file mode 100644 index 000000000..56afa8330 --- /dev/null +++ b/sys-firmware/intel-microcode/intel_microcode-20191115.recipe @@ -0,0 +1,26 @@ +SUMMARY="Intel Processor Microcode Update" +DESCRIPTION="CPU microcode is a mechanism to correct certain errata in \ +existing systems. The normal preferred method to apply microcode updates is \ +using the system BIOS, but for a subset of Intel's processors this can be done\ + at runtime using the operating system. This package contains those processors\ + that support OS loading of microcode updates." +HOMEPAGE="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/" +COPYRIGHT="2018-2019 Intel Corporation" +LICENSE="Intel CPU Microcode" +REVISION="1" +SOURCE_URI="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-$portVersion.tar.gz" +SOURCE_DIR="Intel-Linux-Processor-Microcode-Data-Files-microcode-$portVersion" +CHECKSUM_SHA256="14b26d27be70774948b8cb582e298f5317263b8b8bb1fe8e41260eae54f531dc" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE="yes" + +PROVIDES=" + intel_microcode = $portVersion + " + +INSTALL() +{ + mkdir -p $dataDir/firmware/intel-ucode + cp intel-ucode{,-with-caveats}/* $dataDir/firmware/intel-ucode/ +} diff --git a/sys-firmware/intel-microcode/licenses/Intel CPU Microcode b/sys-firmware/intel-microcode/licenses/Intel CPU Microcode new file mode 100644 index 000000000..214abddcb --- /dev/null +++ b/sys-firmware/intel-microcode/licenses/Intel CPU Microcode @@ -0,0 +1,37 @@ +Copyright (c) 2018-2019 Intel Corporation. +All rights reserved. + +Redistribution. + +Redistribution and use in binary form, without modification, are permitted, +provided that the following conditions are met: + +1. Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + +2. Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + +3. No reverse engineering, decompilation, or disassembly of this software + is permitted. + + +"Binary form" includes any format that is commonly used for electronic +conveyance that is a reversible, bit-exact translation of binary +representation to ASCII or ISO text, for example "uuencode". + +DISCLAIMER. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE.