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 void-linux/void-packages#48284

void-linux/void-packages@b4dae86
  • Loading branch information
atweiden committed Jan 25, 2024
1 parent 000f815 commit 9bfc3b7
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,7 +1,7 @@
maintainer="nox"
pkgname="linux-firmware"
version=20231211
revision=2
version=20240115
revision=1
short_desc="Binary firmware blobs for the Linux kernel"
depends+=" linux-firmware-amd>=${version}_$revision"
depends+=" linux-firmware-network>=${version}_$revision"
Expand All @@ -10,7 +10,7 @@ hostmakedepends+=" which"
homepage="https://www.kernel.org/"
license="custom:see /usr/share/licenses/linux-firmware"
distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/$pkgname-$version.tar.gz"
checksum="d0ba54f05f5dd34b0fc5a1e1970cd9cbc48491d2da97f3798a9e13530dc18298"
checksum="86c2799516c9dc24e73214bd58ccd8297356186e97c5458baf4eb7cc8dbfea0a"
python_version=3
nostrip="yes"

Expand Down Expand Up @@ -44,6 +44,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 9bfc3b7

Please sign in to comment.