git » linux-firmware.git » commit 80432e6

upgpkg: 20230625.ee91452d-2: compress with zstd instead of xz (FS#78892)

author Laurent Carlier
2023-06-30 12:23:49 UTC
committer Laurent Carlier
2023-06-30 12:23:49 UTC
parent 8d33bc99d8a9217a9633c0cded72825b559936b5

upgpkg: 20230625.ee91452d-2: compress with zstd instead of xz (FS#78892)

PKGBUILD +3 -3

diff --git a/PKGBUILD b/PKGBUILD
index 8375587..145f341 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(linux-firmware-whence linux-firmware amd-ucode
 )
 _tag=20230625
 pkgver=20230625.ee91452d
-pkgrel=1
+pkgrel=2
 pkgdesc="Firmware files for Linux"
 url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary"
 license=('GPL2' 'GPL3' 'custom')
@@ -73,7 +73,7 @@ package_linux-firmware() {
 
   cd ${pkgbase}
 
-  make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware install-xz
+  ZSTD_CLEVEL=19 make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware install-zst
 
   # useless (FS#46591)
   # Trigger a microcode reload for configurations not using early updates
@@ -134,7 +134,7 @@ package_linux-firmware-marvell() {
   
   mv -v linux-firmware-marvell/* "${pkgdir}"
   # remove arm64 firmware #76583
-  rm "${pkgdir}"/usr/lib/firmware/mrvl/prestera/mvsw_prestera_fw_arm64-v4.1.img.xz
+  rm "${pkgdir}"/usr/lib/firmware/mrvl/prestera/mvsw_prestera_fw_arm64-v4.1.img.zst
 }
 
 package_linux-firmware-qcom() {