You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use XZ as `modprobe --version` says
```
kmod version 30
+ZSTD +XZ -ZLIB +LIBCRYPTO -EXPERIMENTAL
```
Reason to do this:
```
root@ratatosk:~# find /lib/modules/6.12.35-current-filogic/ -name '*.ko.xz'|xargs xz -l |tail -n 1
265 266 5,253.3 KiB 24.3 MiB 0.211 CRC32 265 files
root@ratatosk:~# ls ~tabris/linux-image-current-filogic_25.11.0-*.deb -lhtr
-rw-r--r-- 1 tabris tabris 48M Aug 22 12:04 /home/tabris/linux-image-current-filogic_25.11.0-trunk_arm64__6.12.35-S9403-D0b5d-P0000-C0ef5H2313-HK01ba-Vc222-Bd200-R448a.deb
-rw-r--r-- 1 tabris tabris 28M Aug 23 20:58 /home/tabris/linux-image-current-filogic_25.11.0-trunk_arm64__6.12.35-S9403-D0b5d-P0000-C999999H2313-HK01ba-Vc222-Bd200-R448a.deb
```
So it saves ~20MiB on disc and in the linux-image package as well.
Reasons to not do this:
a) paranoia about the `xz` library compromise [not really an XZ thing].
b) possibility of tooling failures [`MODULE_DECOMPRESS` may save us,
maybe it won't] on older versions of Armbian/debian.
c) could use `zstd` instead.
This is the kind of thing to consider making standard across all board
configs. But I don't own all of the boards so can't hardly test them
all.
0 commit comments