aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-11-29 11:34:48 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-11-29 11:34:48 +0000
commita641ab717a188a04d9fe4b10372bb4e22e118994 (patch)
tree34ceeda61839458d79482b0b65d6848d95b25760 /scripts
parent328179a17c470df1a43cc08938d78f2fed41c305 (diff)
downloadbootsplash-a641ab717a188a04d9fe4b10372bb4e22e118994.tar
bootsplash-a641ab717a188a04d9fe4b10372bb4e22e118994.tar.gz
bootsplash-a641ab717a188a04d9fe4b10372bb4e22e118994.tar.bz2
bootsplash-a641ab717a188a04d9fe4b10372bb4e22e118994.tar.xz
bootsplash-a641ab717a188a04d9fe4b10372bb4e22e118994.zip
Compress hard, like we do in mkinitrd
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make-boot-splash-raw4
1 files changed, 2 insertions, 2 deletions
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