aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-07-14 16:17:30 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-07-16 16:29:15 +0200
commit944da1fc61bd64a47c2bc6415da5e5d5611b6ff5 (patch)
tree961006f79e6366ed2a0619b889fe6fa7f90a288d /doc
parentgen_determineargs.sh: determine_real_args(): Fix unsetting toolchain variable (diff)
downloadgenkernel-944da1fc61bd64a47c2bc6415da5e5d5611b6ff5.tar.gz
genkernel-944da1fc61bd64a47c2bc6415da5e5d5611b6ff5.tar.bz2
genkernel-944da1fc61bd64a47c2bc6415da5e5d5611b6ff5.zip
gen_initramfs.sh: create_initramfs(): Move and unify validation of --compress-initramfs-type to determine_real_args()
This will allow us to error out early if required user space tool needed to compress initramfs based on specified --compress-initramfs-type is missing or selected type is invalid/unsupported. Best/fastest list is based on results from [Link1][Link2][Link3]. Link1: https://events.static.linuxfound.org/sites/events/files/lcjpcojp13_klee.pdf Link2: https://kernel.ubuntu.com/~cking/boot-speed-eoan-5.3/kernel-compression-method.txt Link3: https://lwn.net/Articles/817134/ Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/genkernel.8.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt
index 494a29c..40c591e 100644
--- a/doc/genkernel.8.txt
+++ b/doc/genkernel.8.txt
@@ -598,9 +598,13 @@ NOTE: System.map filename and System.map symlink name must be different.
Deprecated alias for *--*[*no-*]*compress-initramfs*.
*--compress-initramfs-type*=<arg>::
- Compression type for initramfs (best, xz, lzma, bzip2, gzip, lzop, lz4).
- "Best" causes selection of the best available algorithm that is selected
- in your kernel configuration.
+ Compression type for initramfs (best, bzip2, fastest, gzip, lz4, lzma, lza, xz).
++
+*best* will select the algorithm providing best compression
+from those selected in your kernel configuration.
++
+*fastest* will select the algorithm providing fastest decompression
+from those selected in your kernel configuration.
*--strip*=<all|kernel|modules|none>::
Strip debug symbols from none, all, installed kernel (obsolete) or