|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST 3/7] ts-debian-di-install: Install pv-menu-list in ARM guests, always.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
ts-debian-di-install | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/ts-debian-di-install b/ts-debian-di-install
index 612e0fa..0e778e3 100755
--- a/ts-debian-di-install
+++ b/ts-debian-di-install
@@ -190,9 +190,18 @@ END
$method_cfg = setup_netboot($tmpdir, $arch, $suite);
+ # We need the pv-menu-list package:
+ # - On x86 when running pvgrub, since it only speaks grub1
+ # menu.lst syntax and by grub2 is now the only grub in
+ # Debian.
+ # - On ARM, which uses pygrub, because grub2 is not installed
+ # on ARM by default (except for, maybe, UEFI guests in the
+ # future, but not today).
+ my $pvmenulst = ($bl eq "pvgrub" || $arch =~ /arm/);
+
$ps_url = preseed_create_guest($gho, $arch, '',
Suite=>$suite,
- PvMenuLst=>($bl eq "pvgrub"));
+ PvMenuLst=>$pvmenulst);
$extra_disk = "";
}
--
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 |