f9986ed5d4
[ci skip]
22 lines
788 B
Bash
22 lines
788 B
Bash
# Template file for 'intel-ucode'
|
|
pkgname=intel-ucode
|
|
version=20180807
|
|
revision=3
|
|
_dlid=28039
|
|
create_wrksrc=yes
|
|
short_desc="Microcode update files for Intel CPUs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="INTEL Software License Agreement"
|
|
homepage="https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22"
|
|
distfiles="https://downloadmirror.intel.com/${_dlid}/eng/microcode-${version}.tgz"
|
|
checksum=29f9e8dc27e6c9b6488cecd7fe2394030307799e511db2d197d9e6553a7f9e40
|
|
|
|
archs="i686* x86_64*"
|
|
|
|
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 ${FILESDIR}/LICENSE
|
|
}
|