The build image compresses at zstd's default level, which leaves these unstripped driver blobs 22% larger than they need to be. Measured against the packages on the quattro-beta3 ISO: nvidia-580xx-utils 359.4 -> 276.2 MiB lib32-nvidia-580xx-utils 74.2 -> 48.8 MiB nvidia-580xx-dkms 85.5 -> 79.8 MiB That is 114 MiB off the ISO's offline mirror, which stores packages essentially uncompressed inside squashfs, so it comes straight off the image. The dkms package rides along on its pkgbase. Carried as .omarchy patches so they survive AUR syncs. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
16 lines
545 B
Diff
16 lines
545 B
Diff
--- a/PKGBUILD
|
|
+++ b/PKGBUILD
|
|
@@ -13,6 +13,12 @@
|
|
url="http://www.nvidia.com/"
|
|
license=('custom')
|
|
options=('!strip')
|
|
+
|
|
+# Omarchy: the build image compresses with zstd at its default level, which
|
|
+# leaves these unstripped driver blobs far larger than they need to be. Maximum
|
|
+# zstd saves 89 MB across this pkgbase, most of it on the ISO's offline mirror.
|
|
+COMPRESSZST=(zstd -c -z -q --ultra -22 --threads=0 -)
|
|
+
|
|
_pkg="NVIDIA-Linux-x86_64-${pkgver}"
|
|
_pkg_open="NVIDIA-kernel-module-source-${pkgver}"
|
|
source=('nvidia-drm-outputclass.conf'
|