Bryce,

I think there was some hesitance to use the modularized version of
boottool for the sake of simplicity, but after looking at the INSTALL
file method for generating a monolithic script we want to have
autotest use the updated version.

I noticed one issue so far using the new script.  For the 'default'
command in menu.lst when it is set to an integer and not 'saved'
running set-default gobbles the newline and the resulting menu.lst
contains the correct default entry but with the following line pulled
up into it.

Adding a \n to the regexp replace in the Grub.pm fixed it for me.  Any
idea if this is a bug or am I simply doing something wrong?

Here is the diff to clarify what I changed:

Index: lib/Linux/Bootloader/Grub.pm
===================================================================
--- lib/Linux/Bootloader/Grub.pm        (revision 735)
+++ lib/Linux/Bootloader/Grub.pm        (working copy)
@@ -227,7 +228,7 @@
   foreach my $index (0..$#config) {

     if ($config[$index] =~ /(^\s*default\s*\=*\s*)\d+/i) {
-      $config[$index] = "$1$newdefault";
+      $config[$index] = "$1$newdefault\n";
       last;
     } elsif ($config[$index] =~ /^\s*default\s*\=*\s*saved/i) {
       my @default_config;


-Ryan
