author | Laurent Carlier
<lordheavym@archlinux.org> 2023-07-08 09:50:13 UTC |
committer | Laurent Carlier
<lordheavym@archlinux.org> 2023-07-08 09:50:13 UTC |
parent | 1f4c9fad1b8ec5a5880a3686c587069379a88df9 |
PKGBUILD | +4 | -10 |
diff --git a/PKGBUILD b/PKGBUILD index 0bcf388..522290c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgname=(linux-firmware-whence linux-firmware amd-ucode ) _tag=20230625 pkgver=20230625.ee91452d -pkgrel=3 +pkgrel=4 pkgdesc="Firmware files for Linux" url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary" license=('GPL2' 'GPL3' 'custom') @@ -18,6 +18,7 @@ sha256sums=('SKIP') validpgpkeys=('4CDE8575E547BF835FE15807A31B6BD72486CFD6') # Josh Boyer <jwboyer@fedoraproject.org> _backports=( + d3f66064cf43bd7338a79174bd0ff60c4ecbdf6d ) prepare() { @@ -73,21 +74,14 @@ package_linux-firmware() { cd ${pkgbase} - make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware install-xz - - # useless without CONFIG_MICROCODE_LATE_LOADING - # https://bugs.archlinux.org/task/46591 - # - # # Trigger a microcode reload for configurations not using early updates - # echo 'w /sys/devices/system/cpu/microcode/reload - - - - 1' | - # install -Dm644 /dev/stdin "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf" + ZSTD_CLEVEL=19 make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware install-zst install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 LICEN* cd "${pkgdir}" # remove arm64 firmware https://bugs.archlinux.org/task/76583 - rm usr/lib/firmware/mrvl/prestera/mvsw_prestera_fw_arm64-v4.1.img.xz + rm usr/lib/firmware/mrvl/prestera/mvsw_prestera_fw_arm64-v4.1.img.zst # split _pick linux-firmware-nfp usr/lib/firmware/netronome