From: Ian Jackson Subject: Re: [OSSTEST PATCH] freebsd: switch to 10.0-RELEASE (20140116-r260789) Date: Thu, 13 Feb 2014 11:35:22 +0000 Message-ID: <21244.44538.522283.884578@mariner.uk.xensource.com> References: <1392034392-27273-1-git-send-email-ian.jackson@eu.citrix.com> <52F8C40E.7010707@citrix.com> <21240.50574.203262.432094@mariner.uk.xensource.com> <52F8E379.4020702@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WDuZi-0007kC-Od for xen-devel@lists.xenproject.org; Thu, 13 Feb 2014 11:35:26 +0000 In-Reply-To: <52F8E379.4020702@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: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: xen-devel@lists.xenproject.org, Ian Campbell List-Id: xen-devel@lists.xenproject.org Roger Pau Monn=E9 writes ("Re: [OSSTEST PATCH] freebsd: switch to 10.0-RELE= ASE (20140116-r260789)"): > On 10/02/14 13:26, Ian Jackson wrote: > > Roger Pau Monn=E9 writes ("Re: [OSSTEST PATCH] freebsd: switch to 10.0-= RELEASE (20140116-r260789)"): > >> Thanks for the patch. I think it's missing the following chunk: > > ... > >> -our $freebsd_version=3D "10.0-BETA3"; > >> +our $freebsd_version=3D "10.0-RELEASE"; > > = > > Oh. Err, why is this hardcoded in the script ? Changing the > > runvar(s) ought to be sufficient. > > = > > ... (looks at the code) ... > > = > > Oh, I see, that's just the default. Perhaps the default should be > > removed entirely ? None of the other scripts have a default image > > filename. > = > So $freebsd_image is going to contain the absolute path to the image? > I'm asking because ts-freebsd-install searches for the image in > /var/images, do we have to do something like /var/images/$freebsd_image > in order to get the absolute image path? (Sorry for not replying sooner.) In flights made with make-flight, the runvar $r{freebsd_image} is always set and is used by target_put_guest_image instead of the third "default" argument. So both $freebsd_version and $freebsd_vm_repo are ignored. ts-redhat-install and ts-windows-install both use more_prepareguest_hvm which pass "undef" for the third argument. So I'm suggesting that the bit of ts-freebsd-install which constructs the default image filename be removed. Ian.