26 lines
853 B
Bash
26 lines
853 B
Bash
# Template file for 'intel-ucode'
|
|
pkgname=intel-ucode
|
|
version=20180703
|
|
revision=1
|
|
_dlid=27945
|
|
noarch=yes
|
|
create_wrksrc=yes
|
|
short_desc="Microcode update files for Intel CPUs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="INTEL Software License Agreement"
|
|
homepage="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22"
|
|
distfiles="http://downloadmirror.intel.com/${_dlid}/eng/microcode-${version}.tgz"
|
|
checksum=4a1a346fdf48e1626d4c9d0d47bbbc6a4052f56e359c85a3dd2d10fd555e5938
|
|
|
|
conf_files="/etc/dracut.conf.d/intel_ucode.conf"
|
|
|
|
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
|
|
|
|
do_install() {
|
|
vmkdir usr/lib/firmware/intel-ucode
|
|
vcopy "intel-ucode/*" usr/lib/firmware/intel-ucode
|
|
vmkdir etc/dracut.conf.d
|
|
echo "early_microcode=yes" >> ${DESTDIR}/etc/dracut.conf.d/intel_ucode.conf
|
|
vlicense ${FILESDIR}/LICENSE
|
|
}
|