mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01: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 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
|
|
}
|