initramfs-tools: change default compression type to xz (best compression mode).

This commit is contained in:
Juan RP 2011-05-25 12:07:18 +02:00
parent 94b8d8871c
commit efa9c7a8ac
3 changed files with 5 additions and 4 deletions

View File

@ -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.

View File

@ -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

View File

@ -1,6 +1,6 @@
# Template file for 'initramfs-tools'
pkgname=initramfs-tools
_localver=0.99.15 # This is the XBPS version
_localver=0.99.16 # This is the XBPS version
_distver=0.98.8 # This should match debian version
version=${_localver}.${_distver}
build_style=custom-install