Show all possible kernels - needed for i386-efi
This commit is contained in:
parent
74d62ec35c
commit
cb1b553227
|
@ -70,8 +70,6 @@ sub print_kernel {
|
||||||
my %k = %{$t};
|
my %k = %{$t};
|
||||||
my $initrd;
|
my $initrd;
|
||||||
|
|
||||||
# Only print 64-bit kernels
|
|
||||||
if ($k{"kernel"} =~ /amd/) {
|
|
||||||
$k{"label"} =~ s/\^//;
|
$k{"label"} =~ s/\^//;
|
||||||
if ($k{"append"} =~ s? (initrd=\S+)??) {
|
if ($k{"append"} =~ s? (initrd=\S+)??) {
|
||||||
$initrd = $1;
|
$initrd = $1;
|
||||||
|
@ -83,7 +81,6 @@ sub print_kernel {
|
||||||
print_indent " initrd $initrd\n";
|
print_indent " initrd $initrd\n";
|
||||||
print_indent "}\n";
|
print_indent "}\n";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
sub debug {
|
sub debug {
|
||||||
# print_indent $menudepth . " " . $menu{"number"} . ": " . $menu{"label"} .
|
# print_indent $menudepth . " " . $menu{"number"} . ": " . $menu{"label"} .
|
||||||
|
|
Loading…
Reference in New Issue