Browse Source

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.
master
freesource 23 years ago
parent
commit
48e3ff937d
  1. 20
      gbootroot

20
gbootroot

@ -255,7 +255,7 @@ my ($hbox_advanced);
my $separator_advanced; my $separator_advanced;
my @entry_advanced; my @entry_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 ($ear1,$ear2,$ear3,$ear4); # entry advanced root
my ($eab1,$eab2,$eab3); # entry advanced uml my ($eab1,$eab2,$eab3); # entry advanced uml
my $uml_window; my $uml_window;
@ -914,12 +914,14 @@ sub advanced_boot_section {
my $append; (undef,undef,$append) = gdkbirdaao(); my $append; (undef,undef,$append) = gdkbirdaao();
$tooltips->set_tip( $ea4, "Add append options to brlilo.conf.", ""); $tooltips->set_tip( $ea4, "Add append options to brlilo.conf.", "");
$ea4->set_text($append) if defined $append; $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 # Kernel Version
label_advanced("Kernel Version:",0,1,5,6,$table_advanced); label_advanced("Kernel Version:",0,1,5,6,$table_advanced);
$ea5 = entry_advanced(1,2,5,6,12,$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" . $tooltips->set_tip( $ea5, "Override the kernel version number found" .
" in the kernel header. This will change" . " in the kernel header. This will change" .
" the /lib/modules/kernel-version directory", " 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]; $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++; $button_count++;
} }
else { else {
@ -3294,7 +3308,7 @@ compact
# bootdisk # bootdisk
image = kernel image = kernel
append = "load_ramdisk=1 debug" append = "load_ramdisk=1 debug $entry_advanced[2]"
initrd = $initrd initrd = $initrd
root = $device root = $device
label = bootdisk label = bootdisk

Loading…
Cancel
Save