This allows adds the kernel option for UML in expect_uml, it's amazing

what you find when you remove the system package.  Getting closer.
This commit is contained in:
freesource
2002-12-11 06:53:24 +00:00
parent 50bbbb674c
commit 29e9e73202
5 changed files with 32 additions and 12 deletions
+6 -3
View File
@@ -68,7 +68,10 @@ my $version = "1.4.0";
my $date = "11.19.2002";
my $gtk_perl_version = "0.7002";
my $home_rootfs = "$home/root_filesystem/";
my $home_uml_kernel = "$home/uml_kernel/";
my $home_uml_kernel;
$option{gui_mode} ? ($home_uml_kernel = "$home/user-mode-linux/usr/bin/")
: ($home_uml_kernel = "$home/uml_kernel/");
$option{"uml-kernel"} = $home_uml_kernel . "linux" if !$option{"uml-kernel"};
my $modules_directory = "/lib/modules";
my $Initrd;
$option{gui_mode} ?
@@ -843,8 +846,8 @@ else {
# Let's read in the ARGV
die "specify a template found in $template_dir\nuse --template\n"
if !$option{template};
### die "specify a template found in $template_dir\nuse --template\n"
### if !$option{template};
start_logging_output($verbosefn,$verbosity); # Yard "tmp dir name"
+2 -1
View File
@@ -1550,7 +1550,8 @@ sub create_expect_uml {
my $x_count = 1;
my $command_line = "$expect_program $ubd0 $ubd1 $options " .
"$mount_point $preserve_ownership $filesystem";
"$mount_point $preserve_ownership " .
$option{"uml-kernel"} . " $filesystem";
info(0,"\nUsing helper root_fs to $fs_type the filesystem:\n\n");
info(0,"$command_line\n\n");