Commit b84e90b
Herton R. Krzesinski
redhat: change compression flags for xz
JIRA: https://issues.redhat.com/browse/RHEL-79278
Upstream Status: git@gitlab.com:cki-project/kernel-ark.git
commit b1b87d55b54179a7ead27bc3b1b3047f55a56ab7
Author: Herton R. Krzesinski <herton@redhat.com>
Date: Tue Feb 18 10:51:18 2025 -0300
redhat: change compression flags for xz
The macro compression_flags is used in the compression of kernel modules.
The default xz integrity check used is crc64. In the next change, we
will switch to in-kernel decompression of modules. The problem is that
it doesn't have support for the crc64 check, so we must manually switch
to crc32. While at it, also add --lzma2=dict=1MiB which is also used by
the kernel at scripts/Makefile.modinst and in general follows
recommendation/dictionary sizes explained in the kernel documentation
at Documentation/staging/xz.rst.
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>1 parent 6f97af7 commit b84e90b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments