Skip to content

Commit b6c09b5

Browse files
committed
modules: clarify CONFIG_MODULE_COMPRESS help, suggest 'N'.
Andreas turned this option on, only to find out Debian (and Ubuntu!) don't enable support in their kmod builds. Shorten the text, and suggest N at the bottom (at least for now). Reported-by: Andreas Mohr <andim2@users.sf.net> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 6727bb9 commit b6c09b5

1 file changed

Lines changed: 10 additions & 15 deletions

File tree

‎init/Kconfig‎

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,26 +1948,21 @@ config MODULE_COMPRESS
19481948
bool "Compress modules on installation"
19491949
depends on MODULES
19501950
help
1951-
This option compresses the kernel modules when 'make
1952-
modules_install' is run.
19531951

1954-
The modules will be compressed either using gzip or xz depend on the
1955-
choice made in "Compression algorithm".
1952+
Compresses kernel modules when 'make modules_install' is run; gzip or
1953+
xz depending on "Compression algorithm" below.
19561954

1957-
module-init-tools has support for gzip format while kmod handle gzip
1958-
and xz compressed modules.
1955+
module-init-tools MAY support gzip, and kmod MAY support gzip and xz.
19591956

1960-
When a kernel module is installed from outside of the main kernel
1961-
source and uses the Kbuild system for installing modules then that
1962-
kernel module will also be compressed when it is installed.
1957+
Out-of-tree kernel modules installed using Kbuild will also be
1958+
compressed upon installation.
19631959

1964-
This option provides little benefit when the modules are to be used inside
1965-
an initrd or initramfs, it generally is more efficient to compress the whole
1966-
initrd or initramfs instead.
1960+
Note: for modules inside an initrd or initramfs, it's more efficient
1961+
to compress the whole initrd or initramfs instead.
19671962

1968-
This is fully compatible with signed modules while the signed module is
1969-
compressed. module-init-tools or kmod handles decompression and provide to
1970-
other layer the uncompressed but signed payload.
1963+
Note: This is fully compatible with signed modules.
1964+
1965+
If in doubt, say N.
19711966

19721967
choice
19731968
prompt "Compression algorithm"

0 commit comments

Comments
 (0)