intel-ucode: move dracut config to /usr/lib/dracut/dracut.conf.d
This commit is contained in:
parent
80355684e9
commit
f7d8bd4d9b
1 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'intel-ucode'
|
||||
pkgname=intel-ucode
|
||||
version=20180807
|
||||
revision=2
|
||||
revision=3
|
||||
_dlid=28039
|
||||
create_wrksrc=yes
|
||||
short_desc="Microcode update files for Intel CPUs"
|
||||
|
@ -11,14 +11,12 @@ homepage="https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%2
|
|||
distfiles="https://downloadmirror.intel.com/${_dlid}/eng/microcode-${version}.tgz"
|
||||
checksum=29f9e8dc27e6c9b6488cecd7fe2394030307799e511db2d197d9e6553a7f9e40
|
||||
|
||||
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
|
||||
vmkdir usr/lib/dracut/dracut.conf.d
|
||||
echo "early_microcode=yes" >> ${DESTDIR}/usr/lib/dracut/dracut.conf.d/intel_ucode.conf
|
||||
vlicense ${FILESDIR}/LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue