mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
34 lines
1.3 KiB
Bash
34 lines
1.3 KiB
Bash
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-2024 Intel Corporation"
|
|
LICENSE="Intel CPU Microcode"
|
|
REVISION="2"
|
|
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="9575c6d74491058bbf998c359d7f25f23655d97a31663a8ed6a98def2b0aaf2b"
|
|
ADDITIONAL_FILES="intel_copy_microcode.sh"
|
|
|
|
ARCHITECTURES="any"
|
|
DISABLE_SOURCE_PACKAGE="yes"
|
|
|
|
POST_INSTALL_SCRIPTS="$relativePostInstallDir/intel_copy_microcode.sh"
|
|
|
|
PROVIDES="
|
|
intel_microcode = $portVersion
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $dataDir/firmware/intel-ucode
|
|
cp intel-ucode{,-with-caveats}/* $dataDir/firmware/intel-ucode/
|
|
|
|
# install postinstallscript
|
|
mkdir -p $postInstallDir
|
|
install -t $postInstallDir $portDir/additional-files/intel_copy_microcode.sh
|
|
}
|