From: Ian Jackson Date: Fri, 18 Sep 2015 15:21:45 +0000 (+0100) Subject: ts-debian-hvm-install: Do not create EFI partition if EFI not in use X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1fd4a94e7c4a8032deeffcbd12f96dd835f9781b;p=osstest.git ts-debian-hvm-install: Do not create EFI partition if EFI not in use If we are booting our install ISO using a non-EFI executable, don't try to provide an EFI for the installed system either. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- v4: Fix regexp to match efi.img (!) Rebased, fixed code motion conflict. --- diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install index b9f9025..6646a5a 100755 --- a/ts-debian-hvm-install +++ b/ts-debian-hvm-install @@ -49,6 +49,7 @@ our $guesthost= "$gn.guest.osstest"; our $gho; our ($kernel, $ramdisk); +our $bootfile; our $gsuite; @@ -56,7 +57,7 @@ sub preseed () { my $preseed_file = preseed_base($gho,$gsuite,'','',()); - $preseed_file .= (<