From 5703bc0c449f5cde88b3e4597e33d81ad6f42ea1 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Sun, 16 Mar 2008 20:55:42 +0100 Subject: mkinitramfs: Drop gzip -9 option. Doubles the speed of mkinitramfs small size loss ~ 1%. Suggested since some time by waldi and found in Ubuntu too now. --- mkinitramfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkinitramfs b/mkinitramfs index 06d2149..312b99e 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -290,7 +290,7 @@ if [ -e "${CONFDIR}/DSDT.aml" ]; then fi [ "${verbose}" = y ] && echo "Building cpio ${outfile} initramfs" -(cd "${DESTDIR}" && find . | cpio --quiet --dereference -o -H newc | gzip -9 >"${outfile}") || exit 1 +(cd "${DESTDIR}" && find . | cpio --quiet --dereference -o -H newc | gzip >"${outfile}") || exit 1 if [ -s "${__TMPCPIOGZ}" ]; then cat "${__TMPCPIOGZ}" >>"${outfile}" || exit 1 -- cgit v1.2.3