22 lines
899 B
Bash
22 lines
899 B
Bash
# Template file for 'intel-ucode'
|
|
pkgname=intel-ucode
|
|
version=20231114
|
|
revision=1
|
|
archs="i686* x86_64*"
|
|
short_desc="Microcode update files for Intel CPUs"
|
|
maintainer="Mohammed Anas <triallax@tutanota.com>"
|
|
license="custom: Proprietary"
|
|
homepage="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files"
|
|
changelog="https://raw.githubusercontent.com/intel/Intel-Linux-Processor-Microcode-Data-Files/main/releasenote.md"
|
|
distfiles="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/refs/tags/microcode-${version}.tar.gz"
|
|
checksum=cee26f311f7e2c039dd48cd30f995183bde9b98fb4c3039800e2ddaf5c090e55
|
|
repository=nonfree
|
|
|
|
do_install() {
|
|
vmkdir usr/lib/firmware/intel-ucode
|
|
vcopy "intel-ucode/*" usr/lib/firmware/intel-ucode
|
|
vmkdir usr/lib/dracut/dracut.conf.d
|
|
echo "early_microcode=yes" >> ${DESTDIR}/usr/lib/dracut/dracut.conf.d/intel_ucode.conf
|
|
vlicense license
|
|
}
|