From: Ewan Mellor Subject: Re: Re: [Xen-changelog] Added auxbin module, for handling auxillary binaries. Date: Tue, 11 Oct 2005 16:27:08 +0100 Message-ID: <20051011152708.GB5513@uk.xensource.com> References: <1129042951.2826.63.camel@bree.local.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1129042951.2826.63.camel@bree.local.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.