diff options
author | maximilian attems <max@stro.at> | 2008-03-16 20:55:42 +0100 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2008-03-16 20:55:42 +0100 |
commit | 5703bc0c449f5cde88b3e4597e33d81ad6f42ea1 (patch) | |
tree | 4da5a866a27d299e2461e096cfccaca88862c160 /mkinitramfs | |
parent | bf4c07348b91597d96764ba8a484678845a58cd7 (diff) | |
download | initramfs-tools-5703bc0c449f5cde88b3e4597e33d81ad6f42ea1.tar.gz initramfs-tools-5703bc0c449f5cde88b3e4597e33d81ad6f42ea1.zip |
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.
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-x | mkinitramfs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |