[projects/geninitrd] Reorder compressors, so best (smallest image) is used first. Using best compression to avoid a need
arekm
arekm at pld-linux.org
Wed Jan 20 21:57:57 CET 2016
commit a16a1beafe3929b47bc28208c375520771c84b08
Author: Arkadiusz MiĆkiewicz <arekm at maven.pl>
Date: Wed Jan 20 21:57:53 2016 +0100
Reorder compressors, so best (smallest image) is used first. Using best compression to avoid a need to play with kernel options to load bigger ramdisks.
geninitrd | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 7b962b5..a4de196 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1103,8 +1103,7 @@ sym_exists() {
# find best compressor (or forced one) for initrd
find_compressor() {
local mode="$1"
- # fastest initrd decompression speed is first
- local compressors='lzo gzip xz lzma bzip2'
+ local compressors='xz lzma bzip2 gzip lzo'
# a specified one, take it
if ! is_yes "$mode"; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/geninitrd.git/commitdiff/a16a1beafe3929b47bc28208c375520771c84b08
More information about the pld-cvs-commit
mailing list