summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-20 16:47:13 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-20 16:47:13 +0000
commit48db6a78efd91232719f0a9f37dc9a9b607ca1c4 (patch)
treec4672fdae7ee73c7bea673518bbd00b676073ef8 /make_boot_img
parent3e112ce55d0d261931bf367e9243aedda5ae4897 (diff)
downloaddrakx-backup-do-not-use-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.tar
drakx-backup-do-not-use-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.tar.gz
drakx-backup-do-not-use-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.tar.bz2
drakx-backup-do-not-use-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.tar.xz
drakx-backup-do-not-use-48db6a78efd91232719f0a9f37dc9a9b607ca1c4.zip
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img9
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 {