diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-10-20 16:47:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-10-20 16:47:13 +0000 |
commit | 48db6a78efd91232719f0a9f37dc9a9b607ca1c4 (patch) | |
tree | c4672fdae7ee73c7bea673518bbd00b676073ef8 /make_boot_img | |
parent | 3e112ce55d0d261931bf367e9243aedda5ae4897 (diff) | |
download | drakx-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.tar drakx-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.tar.gz drakx-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.tar.bz2 drakx-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.tar.xz drakx-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.zip |
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 9 |
1 files changed, 7 insertions, 2 deletions
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 { |