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-devel

Re: [Xen-devel] Re: [Xen-changelog] Added auxbin module, for handling au

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: [Xen-changelog] Added auxbin module, for handling auxillary binaries.
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Tue, 11 Oct 2005 16:27:08 +0100
Delivery-date: Tue, 11 Oct 2005 15:24:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1129042951.2826.63.camel@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1EPLAq-0001IM-6Q@xxxxxxxxxxxxxxxxxxxxx> <1129042951.2826.63.camel@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Oct 11, 2005 at 11:02:30AM -0400, Jeremy Katz wrote:

> On Tue, 2005-10-11 at 14:32 +0000, Xen patchbot -unstable wrote:
> > +def path():
> > +    machine = os.uname()[4]
> > +    if machine.find('64') != -1 and os.path.exists(LIB_BIN_64):
> > +        return LIB_BIN_64
> > +    else:
> > +        return LIB_BIN_32
> 
> This will break on ia64.  Itanium doesn't use lib64 paths.  So you
> really want to check against explicit values for the arch

So could you tell me which path I should use for which uname -m?

Ewan.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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