WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] [PATCH] Fix parsing of the tools .iso filename

To: David Scott <dave.scott@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] [PATCH] Fix parsing of the tools .iso filename
From: Magnus Therning <magnus.therning@xxxxxxxxxxxxx>
Date: Fri, 27 Nov 2009 07:53:20 +0000
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 26 Nov 2009 23:54:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c512a7857329c62e8ba4.1259253892@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <c512a7857329c62e8ba4.1259253892@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091125 Lightning/1.0pre Thunderbird/3.0
On 26/11/09 16:44, David Scott wrote:
# HG changeset patch
# User David Scott<dave.scott@xxxxxxxxxxxxx>
# Date 1259253843 0
# Node ID c512a7857329c62e8ba44bc76e70f1068a0d1abb
# Parent  6fd77ef2569ead1d2cbc5ca6a6d496519e966fc0
CA-35383: if the tools filename build number has a non-digit suffix, disregard 
it.

XCP hosts currently have tools isos in
   /opt/xensource/packages/iso/xs-tools-<version>-<build><suffix>.iso
where<build>  is an integer and<suffix>  is a string.

I think we'll continue to have the "old style" isos as well, ie both

 /opt/xensource/packages/iso/xs-tools.iso
 /opt/xensource/packages/iso/xs-tools-<ver>-<build><suffix>.iso

would need to be handled.  Right?

Cheers,
M

--
Magnus Therning
magnus.therning@xxxxxxxxxxxxx          Jabber: magnusth@eng

There does not now, nor will there ever, exist a programming language
in which it is the least bit hard to write bad programs.
     -- Flon's Axiom

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>