Skip to content

Commit 9866f6d

Browse files
committed
Merge: CONFIG_MODULE_COMPRESS_XZ should be enabled in kernel [rhel-10.1]
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/496 JIRA: https://issues.redhat.com/browse/RHEL-79278 - redhat/configs: enable in kernel compression/decompression of compressed modules (Herton R. Krzesinski) [[RHEL-79278](https://issues.redhat.com/browse/RHEL-79278)] - redhat: change compression flags for xz (Herton R. Krzesinski) [[RHEL-79278](https://issues.redhat.com/browse/RHEL-79278)] Signed-off-by: Herton R. Krzesinski <herton@redhat.com> Approved-by: Jan Stancek <jstancek@redhat.com> Approved-by: Waiman Long <longman@redhat.com> Approved-by: Rafael Aquini <raquini@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Julio Faracco <jfaracco@redhat.com>
2 parents 01aa2f7 + 743fbdb commit 9866f6d

File tree

7 files changed

+5
-4
lines changed

7 files changed

+5
-4
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MODULE_COMPRESS=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CONFIG_MODULE_COMPRESS_ALL is not set

redhat/configs/common/generic/CONFIG_MODULE_COMPRESS_NONE

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# CONFIG_MODULE_COMPRESS_XZ is not set
1+
CONFIG_MODULE_COMPRESS_XZ=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MODULE_DECOMPRESS=y

redhat/configs/rhel/generic/CONFIG_MODULE_COMPRESS

Lines changed: 0 additions & 1 deletion
This file was deleted.

redhat/kernel.spec.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Summary: The Linux kernel
120120

121121
# Default compression algorithm
122122
%global compression xz
123-
%global compression_flags --compress
123+
%global compression_flags --compress --check=crc32 --lzma2=dict=1MiB
124124
%global compext xz
125125

126126
%if 0%{?fedora}

0 commit comments

Comments
 (0)