We move this earlier. This is OK because it depends only on the
console runvar (inside the sub; this is set by target_kernkind_check),
$ho and $gho (which are set by this point); and $mountpoint$ (which is
set by access().
No functional change.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
}
our $extra;
+our $console;
sub console () {
- my $console=
- target_kernkind_console_inittab($ho,$gho,"$mountpoint");
return unless length $console;
my $xextra= "console=$console earlyprintk=xen";
ether();
access();
target_kernkind_check($gho);
+$console = target_kernkind_console_inittab($ho,$gho,"$mountpoint");
debian_overlays($ho, \&overlay);
target_cmd_root($ho, <<END.debian_overlays_fixup_cmd($ho, $mountpoint));