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

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [Xen-changelog] Added auxbin module, for handling auxillary binaries.
From: Jeremy Katz <katzj@xxxxxxxxxx>
Date: Tue, 11 Oct 2005 11:02:30 -0400
Delivery-date: Tue, 11 Oct 2005 15:00:40 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1EPLAq-0001IM-6Q@xxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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


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

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