From: Jeremy Katz Subject: Re: [Xen-changelog] Added auxbin module, for handling auxillary binaries. Date: Tue, 11 Oct 2005 11:02:30 -0400 Message-ID: <1129042951.2826.63.camel@bree.local.net> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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, 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 Jeremy