Commit 3c0a7bfe authored by Srikanth Raju's avatar Srikanth Raju Committed by Leigh B Stoller

Fix some vars that were wrong

parent 67bd3267
......@@ -186,10 +186,10 @@ $filesize = $filesize + 4;
my $console = 'hvc0';
if (-e "$workdir/bootopts") {
if(open(my $bo, "<", "/mnt/$imagename/bootopts")) {
if(open(my $bo, "<", "$workdir/bootopts")) {
my $bootopts = join('', <$bo>);
if ($bootopts =~ /xvc0/){
$extra =~ s/hvc0/xvc0/g;
$console =~ s/hvc0/xvc0/g;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment