Lines Matching refs:newkernel
393 my @newkernel;
394 push (@newkernel, "image=$param{'add-kernel'}\n", "\tlabel=$param{title}\n");
395 push (@newkernel, "\tappend=\"$param{args}\"\n") if defined $param{args};
396 push (@newkernel, "\tinitrd=$param{initrd}\n") if defined $param{initrd};
397 push (@newkernel, "\troot=$param{root}\n") if defined $param{root};
398 ##push (@newkernel, "\tread-only\n\n");
411 push (@newconfig,@newkernel);
417 push (@newconfig, @newkernel);
1437 my @newkernel;
1438 push(@newkernel, "title\t$param{title}\n") if defined $param{title};
1439 push(@newkernel, "\troot $param{boot}\n") if defined $param{boot};
1446 push( @newkernel, "$line\n" );
1447 push( @newkernel, "\tinitrd $sections[$default]{'initrd'}\n" ) if defined $sections[$default]{'initrd'};
1451 push( @newkernel, "$line\n" );
1452 push( @newkernel, "\tmodule $param{initrd}\n" ) if defined $param{initrd};
1457 push( @newkernel, "$line\n" );
1458 push( @newkernel, "\tinitrd $param{initrd}\n" ) if defined $param{initrd};
1461 push(@newkernel, "\tsavedefault $param{savedefault}\n") if defined $param{savedefault};
1464 push(@newkernel, "\tmodule " . $module . "\n");
1467 push(@newkernel, "\n");
1480 push (@newconfig,@newkernel);
1486 push (@newconfig, @newkernel);
2168 my @newkernel;
2169 push(@newkernel, "[$param{'title'}]\n");
2170 push(@newkernel, "\ttarget=$param{'target'}\n") if (defined $param{'target'});
2171 push(@newkernel, "\timage=$param{'add-kernel'}\n");
2172 push(@newkernel, "\tramdisk=$param{'initrd'}\n") if (defined $param{'initrd'});
2177 push(@newkernel, "\tparameters=\"$line\"\n");
2179 push(@newkernel, "\n");
2192 push(@newconfig, @newkernel);
2200 push(@newconfig, @newkernel);