From 694fe413df63079d2efca820387dccd0d97ccf54 Mon Sep 17 00:00:00 2001 From: freesource Date: Tue, 2 Oct 2001 17:54:00 +0000 Subject: [PATCH] This adds the much needed Kernel Module(s) entry to the ABS. --- gbootroot | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/gbootroot b/gbootroot index b61a1be..8ebe7c9 100755 --- a/gbootroot +++ b/gbootroot @@ -250,7 +250,7 @@ my ($hbox_advanced); my $separator_advanced; my @entry_advanced; my $entry_advanced; -my ($ea1,$ea2,$ea3); # entry advanced boot +my ($ea1,$ea2,$ea3,$ea4); # entry advanced boot my ($ear1,$ear2,$ear3,$ear4); # entry advanced root my ($eab1,$eab2,$eab3); # entry advanced uml my $uml_window; @@ -810,7 +810,7 @@ sub advanced_boot_section { my $boolean; # The table section - $table_advanced = Gtk::Table->new( 4, 3, $true ); + $table_advanced = Gtk::Table->new( 5, 3, $true ); $vbox_advanced->pack_start( $table_advanced, $true, $true, 0 ); $table_advanced->show(); @@ -864,7 +864,7 @@ sub advanced_boot_section { #_______________________________________ # Optional Device(s) label_advanced("Opt. Device(s)",0,1,2,3,$table_advanced); - $ea2 = entry_advanced(1,2,2,3,1,$table_advanced); + $ea2 = entry_advanced(1,3,2,3,1,$table_advanced); $tooltips->set_tip( $ea2, "Add devices to the boot disk which are" . " necessary for the kernel to function" . " properly. Put a space between each" . @@ -873,15 +873,26 @@ sub advanced_boot_section { ""); $ea2->set_text($entry_advanced[1]) if defined $entry_advanced[1]; + + #_______________________________________ + # Kernel Module(s) + label_advanced("Kernel Module(s)",0,1,3,4,$table_advanced); + $ea3 = entry_advanced(1,3,3,4,11,$table_advanced); + $tooltips->set_tip( $ea3, "Add the modules found in" . + " /lib/modules/kernel-version which are" . + " neccessary for the Boot Method to work" . + " properly.", + ""); + $ea3->set_text($entry_advanced[11]) if defined $entry_advanced[11]; + #_______________________________________ # Append Options - label_advanced("append =",0,1,3,4,$table_advanced); - $ea3 = entry_advanced(1,3,3,4,2,$table_advanced); + label_advanced("append =",0,1,4,5,$table_advanced); + $ea4 = entry_advanced(1,3,4,5,2,$table_advanced); my $append; (undef,undef,$append) = gdkbirdaao(); - $tooltips->set_tip( $ea3, "Add append options to brlilo.conf.", ""); - $ea3->set_text($append) if defined $append; - - # Verbosity section + $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]; $button_count++; } @@ -1622,6 +1633,9 @@ sub Generate { # 8 = UML xterm # 9 = UML options # 10 = UML root_fs + + # 11 = Kernel Modules .. from the Boot Method + # $root_device_size; # $filesystem_size;