-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
21 lines (20 loc) · 893 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Template file for 'intel-ucode'
pkgname=intel-ucode
version=20240514
revision=1
archs="i686* x86_64*"
short_desc="Microcode update files for Intel CPUs"
maintainer="Orphaned <orphan@voidlinux.org>"
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=b5e3cbcb2e34d4c32dcdbfee36603dd68e8a4162cf7e44084f6989d440e69a08
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
}