From 48db6a78efd91232719f0a9f37dc9a9b607ca1c4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 20 Oct 1999 16:47:13 +0000 Subject: no_comment --- make_boot_img | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'make_boot_img') diff --git a/make_boot_img b/make_boot_img index 41113fb07..172c8bfcc 100755 --- a/make_boot_img +++ b/make_boot_img @@ -46,8 +46,13 @@ sub initrd { _ "$sudo cp -f modules/${type}_modules.cgz $mnt/modules/modules.cgz"; _ "$sudo cp -f modules/modules.dep $mnt/modules/"; _ "$sudo umount $mnt"; - _ "gzip -9 -c $tmp > $img"; - _ "rm -f $tmp"; + +# Workaround for vfat-loop bug (quite touchy) + _ "gzip -9f $tmp"; + _ "cp -f $tmp.gz $img"; + _ "rm -f $tmp.gz"; +# _ "gzip -9 -c $tmp > $img"; +# _ "rm -f $tmp"; } sub boot_img { -- cgit v1.2.1