Commit b6c09b51 authored by Rusty Russell's avatar Rusty Russell
Browse files

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: default avatarAndreas Mohr <andim2@users.sf.net>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 6727bb9c
Loading
Loading
Loading
Loading
+10 −15
Original line number Original line Diff line number Diff line
@@ -1948,26 +1948,21 @@ config MODULE_COMPRESS
	bool "Compress modules on installation"
	bool "Compress modules on installation"
	depends on MODULES
	depends on MODULES
	help
	help
	  This option compresses the kernel modules when 'make
	  modules_install' is run.


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


	  module-init-tools has support for gzip format while kmod handle gzip
	  module-init-tools MAY support gzip, and kmod MAY support gzip and xz.
	  and xz compressed modules.


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


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


	  This is fully compatible with signed modules while the signed module is
	  Note: This is fully compatible with signed modules.
	  compressed. module-init-tools or kmod handles decompression and provide to

	  other layer the uncompressed but signed payload.
	  If in doubt, say N.


choice
choice
	prompt "Compression algorithm"
	prompt "Compression algorithm"