Skip to content

Commit

Permalink
linux-firmware: update to 20240115.
Browse files Browse the repository at this point in the history
also tell dracut to load early ucode, just like intel-ucode

closes #48284
  • Loading branch information
dataCobra authored and classabbyamp committed Jan 24, 2024
1 parent 6ba6e2b commit b4dae86
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions srcpkgs/linux-firmware/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20231211
revision=2
version=20240115
revision=1
hostmakedepends="rdfind which"
depends="linux-firmware-amd>=${version}_${revision} linux-firmware-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="custom:see /usr/share/licenses/linux-firmware"
homepage="https://www.kernel.org/"
distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${version}.tar.gz"
checksum=d0ba54f05f5dd34b0fc5a1e1970cd9cbc48491d2da97f3798a9e13530dc18298
checksum=86c2799516c9dc24e73214bd58ccd8297356186e97c5458baf4eb7cc8dbfea0a
python_version=3
nostrip=yes

Expand Down Expand Up @@ -37,6 +37,8 @@ linux-firmware-amd_package() {
vmove usr/share/licenses/linux-firmware/LICENSE.amdgpu
vmove usr/share/licenses/linux-firmware/LICENSE.amd-ucode
vmove usr/share/licenses/linux-firmware/LICENSE.radeon
vmkdir usr/lib/dracut/dracut.conf.d
echo "early_microcode=yes" >> ${PKGDESTDIR}/usr/lib/dracut/dracut.conf.d/amd_ucode.conf
}
}

Expand Down

0 comments on commit b4dae86

Please sign in to comment.