|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST v2 03/19] ts-host-install: Split initrd out of @installcmdline
Other bootloaders handle this with an explicit separate option rather
than parsing it out of the command line as pxelinux does. Prepare for
supporting these.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
ts-host-install | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/ts-host-install b/ts-host-install
index 04d5487..04f065f 100755
--- a/ts-host-install
+++ b/ts-host-install
@@ -265,9 +265,7 @@ END
my $initrd= "$ho->{Tftp}{TmpDir}$ho->{Name}--initrd.gz";
system_checked("cat -- @initrds >$ho->{Tftp}{Path}$initrd");
- push @installcmdline, ("initrd=/$initrd",
- "domain=$c{TestHostDomain}",
- );
+ push @installcmdline, "domain=$c{TestHostDomain}";
push @installcmdline,
get_host_property($ho, "install-append $ho->{Suite}", ''),
get_host_property($ho, "install-append $ho->{Suite} $r{arch}", '');
@@ -295,7 +293,7 @@ label overwrite
menu label ^Overwrite
menu default
kernel $kernel
- append $installcmdline
+ append initrd=/$initrd $installcmdline
ipappend $ipappend
$dtbs
default overwrite
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |