intel_microcode: new recipe

This commit is contained in:
Jerome Duval
2020-02-20 17:07:34 +01:00
parent 536903bb67
commit 9e99e0eae7
2 changed files with 63 additions and 0 deletions

View File

@@ -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/
}

View File

@@ -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.