Files
haikuports/sys-firmware/intel-microcode/intel_microcode-20260227.recipe
2026-02-28 19:29:28 +01:00

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 microcode updates \
for processors where that is possible."
HOMEPAGE="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/"
COPYRIGHT="2018-2025 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="fcac5a08d7559a2ce4ad3b1ce5d59619c8adb364b9c51988fedd94220392bb37"
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
}