Hi Erich,

do you see any problem to apply the attached patch to
systemconfigurator? it should resolve some problems and at least reduce
a lot of warnings in servers that don't have a floppy drive.

Thanks,
-Andrea
--- lib/Boot/Grub.pm.orig	2006-08-06 14:53:23.000000000 +0200
+++ lib/Boot/Grub.pm	2006-08-06 14:56:52.000000000 +0200
@@ -179,7 +179,7 @@
         unlink $file;
     }
     
-    my $cmd = "$grub --batch --device-map=$file < /dev/null > /dev/null";
+    my $cmd = "$grub --batch --no-floppy --device-map=$file < /dev/null > /dev/null";
     !system($cmd) or croak("Couldn't run $cmd");
     
     verbose("generated device map file $file");
@@ -228,14 +228,14 @@
 sub install_loader {
     my $this = shift;
     my $bootdev = $this->{bootdev};
-    system("$$this{bootloader_exe} --recheck '$$this{bootdev}'");
+    system("$$this{bootloader_exe} --no-floppy --recheck '$$this{bootdev}'");
         
     my $grubroot = find_grub_root();
 
     verbose("Grub root set to '$grubroot'");
 
     my $install_cmd = <<END_GRUB;
-$$this{grub} --no-curses <<EOF > /dev/null
+$$this{grub} --no-floppy --no-curses <<EOF > /dev/null
 root $grubroot
 setup $bootdev
 EOF
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to