From a641ab717a188a04d9fe4b10372bb4e22e118994 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 29 Nov 2009 11:34:48 +0000 Subject: Compress hard, like we do in mkinitrd --- scripts/make-boot-splash-raw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/make-boot-splash-raw b/scripts/make-boot-splash-raw index e24cce2..26dda34 100755 --- a/scripts/make-boot-splash-raw +++ b/scripts/make-boot-splash-raw @@ -33,7 +33,7 @@ if `/bin/zcat $initrd_file 2> /dev/null | /bin/cpio -t &> /dev/null`; then /bin/find . -print | sed -e 's,\./,,g' | sed -e 's,^\.$,,' | \ sort -u | cpio -o -c -L --quiet -O $tmp_dir/initrd --append 2>/dev/null fi - gzip -c $tmp_dir/initrd > $initrd_file + gzip -9 -c $tmp_dir/initrd > $initrd_file rm -rf $tmp_dir else $splash_dir/scripts/remove-boot-splash $initrd_file @@ -46,7 +46,7 @@ else rm -rf $tmp_dir/usr/share/plymouth $tmp_dir/usr/lib*/plymouth /usr/libexec/plymouth/plymouth-populate-initrd -t $tmp_dir umount $tmp_dir 2>/dev/null - gzip -c $tmp_initrd > $initrd_file 2>/dev/null + gzip -9 -c $tmp_initrd > $initrd_file 2>/dev/null rm -f $tmp_initrd fi fi -- cgit v1.2.1