initramfs-tools: change default compression type to xz (best compression mode).
This commit is contained in:
parent
94b8d8871c
commit
efa9c7a8ac
3 changed files with 5 additions and 4 deletions
|
@ -28,10 +28,10 @@ MODULES=most
|
|||
KEYMAP=n
|
||||
|
||||
#
|
||||
# COMPRESS: [ gzip | bzip2 | lzma | lzop ]
|
||||
# COMPRESS: [ gzip | bzip2 | lzma | lzop | xz ]
|
||||
#
|
||||
|
||||
COMPRESS=gzip
|
||||
COMPRESS=xz
|
||||
|
||||
#
|
||||
# NFS Section of the config.
|
||||
|
|
|
@ -144,7 +144,8 @@ if ! `grep -q -i ^config_rd_${COMPRESS%p} /boot/config-${version}` ; then
|
|||
echo "linux-2.6 misses ${COMPRESS} support, using gzip"
|
||||
fi
|
||||
|
||||
[ "${compress}" = lzop ] && compress="lzop -9"
|
||||
# Always compress with best compression mode to save space.
|
||||
compress="$compress -9"
|
||||
|
||||
if [ -d "${outfile}" ]; then
|
||||
echo "${outfile} is a directory" >&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue