From: Ian Jackson Subject: Re: [OSSTEST PATCH 19/26] ts-debian-hvm-install: Cope with images containing only isolinux Date: Mon, 21 Sep 2015 11:35:18 +0100 Message-ID: <22015.56678.503754.693401@mariner.uk.xensource.com> References: <1442598616-2884-1-git-send-email-ian.jackson@eu.citrix.com> <1442598616-2884-6-git-send-email-ian.jackson@eu.citrix.com> <1442827729.10338.21.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZdyRO-00031H-TT for xen-devel@lists.xenproject.org; Mon, 21 Sep 2015 10:35:23 +0000 In-Reply-To: <1442827729.10338.21.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 19/26] ts-debian-hvm-install: Cope with images containing only isolinux"): > On Fri, 2015-09-18 at 18:50 +0100, Ian Jackson wrote: > > debian-7.2.0-i386-CD-1.iso contains no grub, only isolinux. ... > I'm happy to determine experimentally (i.e. by pushing to pretest) if there > is any meaning to the order of these (the wiki has them the new way around, > so I presume not). My tests (which I left running) have determined that this patch was wrong in the amd64 case: it would work, but by falling back to isolinux. This is because $newiso is not populated at the time $bootfile is determined. I think this is fairly easily fixed by reordering things and I will send an update when I have got something that actually works in both cases. (This affects the EFI partition creation too, but shouldn't involve any change to that patch except maybe to context.) > > + my $bootfile = 'boot/grub/efi.img'; > > + if (!target_file_exists($ho, "$newiso/$bootfile")) { > > + $bootfile = "isolinux/isolinux.bin"; > > + push @isogen_extra, qw(-c isolinux/boot.cat); > > + } > > My preference would have been to produce an iso which was bootable either > via EFI (grub) or legacy (isolinux), but that would require more complex > command lines and I'm sure neither of us wants to figure out what those > are. So: Yes. > Acked-by: Ian Campbell Thanks, but given the circmstances I am not going to apply this ack to whatever revised version I produce. Ian.