diff options
author | Jitao Lu <dianlujitao@gmail.com> | 2023-06-04 13:54:01 +0800 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2023-06-08 17:28:11 +0200 |
commit | 2804fff57f01134bb992f1d1798e4d5af77d7112 (patch) | |
tree | 01f334a730e2ea0480c47645db0a59961de0c859 /scripts | |
parent | 91221d9e741abaad6c1342b24139ae72c24e28f4 (diff) | |
download | upstream-2804fff57f01134bb992f1d1798e4d5af77d7112.tar.gz upstream-2804fff57f01134bb992f1d1798e4d5af77d7112.tar.bz2 upstream-2804fff57f01134bb992f1d1798e4d5af77d7112.zip |
oxnas: Enable CONFIG_CRYPTO_LZ4
Previously, CONFIG_LZ4_DECOMPRESS=y was selected by CONFIG_RD_LZ4 only.
When building kernel for initramfs, CONFIG_RD_LZ4 will be unset by
Kernel/SetInitramfs if the chosen compression method is not lz4, then
CONFIG_LZ4_DECOMPRESS will become a *module* in the newly generated
kernel config.
However, the newly added module won't be built after
38c150612cc9be488527e342db92d5c74093213f, so packaging kmod-lib-lz4
fails due to missing lz4_decompress.ko.
CONFIG_CRYPTO_LZ4=y makes CONFIG_LZ4_DECOMPRESS=y being selected w/o
CONFIG_RD_LZ4, so that the modules of the default kernel and initramfs
kernel are consistent.
Fixes: #12766
Fixes: 38c150612cc ("build: revert 54070a1 (all kernels are >= 5.10)")
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
(cherry picked from commit cc87f6629b8a120420075cd984a4e6ece6c669df)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions