From 48e3ff937d9aa144acc579ab7d4b20d660ecd77e Mon Sep 17 00:00:00 2001 From: freesource Date: Fri, 5 Oct 2001 02:24:17 +0000 Subject: [PATCH] Working properly, append options are global in brlilo so ramdisk_size=16384 is a good thing to add to get Tom's rtbt to work, state is properly saved, too. --- gbootroot | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/gbootroot b/gbootroot index b85aa4f..bd22c8a 100755 --- a/gbootroot +++ b/gbootroot @@ -255,7 +255,7 @@ my ($hbox_advanced); my $separator_advanced; my @entry_advanced; my $entry_advanced; -my ($ea1,$ea2,$ea3,$ea4,$ea5); # entry advanced boot +my ($ea1,$ea2,$ea3,$ea4,$ea5,$ea6); # entry advanced boot my ($ear1,$ear2,$ear3,$ear4); # entry advanced root my ($eab1,$eab2,$eab3); # entry advanced uml my $uml_window; @@ -914,12 +914,14 @@ sub advanced_boot_section { my $append; (undef,undef,$append) = gdkbirdaao(); $tooltips->set_tip( $ea4, "Add append options to brlilo.conf.", ""); $ea4->set_text($append) if defined $append; - $ea4->set_text($entry_advanced[2]) if defined $entry_advanced[1]; + $ea4->set_text($entry_advanced[2]) if defined $entry_advanced[2]; #_______________________________________ # Kernel Version label_advanced("Kernel Version:",0,1,5,6,$table_advanced); $ea5 = entry_advanced(1,2,5,6,12,$table_advanced); + $ea6 = entry_advanced(2,3,5,6,13,$table_advanced); + $tooltips->set_tip( $ea5, "Override the kernel version number found" . " in the kernel header. This will change" . " the /lib/modules/kernel-version directory", @@ -927,6 +929,18 @@ sub advanced_boot_section { $ea5->set_text($entry_advanced[12]) if defined $entry_advanced[12]; +=pod + #_______________________________________ + # Kernel Version + label_advanced(":",0,1,5,6,$table_advanced); + $ea6 = entry_advanced(2,3,5,6,13,$table_advanced); + $tooltips->set_tip( $ea6, "Override the kernel version number found" . + " in the kernel header. This will change" . + " the /lib/modules/kernel-version directory", + ""); + $ea6->set_text($entry_advanced[13]) if defined $entry_advanced[13]; +=cut + $button_count++; } else { @@ -3294,7 +3308,7 @@ compact # bootdisk image = kernel -append = "load_ramdisk=1 debug" +append = "load_ramdisk=1 debug $entry_advanced[2]" initrd = $initrd root = $device label = bootdisk