Jeremy Katz
2005-Oct-11 15:02 UTC
[Xen-devel] Re: [Xen-changelog] Added auxbin module, for handling auxillary binaries.
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_32This 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@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2005-Oct-11 15:27 UTC
Re: [Xen-devel] Re: [Xen-changelog] Added auxbin module, for handling auxillary binaries.
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 archSo could you tell me which path I should use for which uname -m? Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Seemingly Similar Threads
- Re: [Xen-changelog] Tweak to pygrub build config detection.
- Re: [Xen-changelog] Fixes.
- Re: [Xen-changelog] [xen-3.4-testing] x86: Generalise BUGFRAME_dump mechanism to allow polled UART irq to
- Re: [Xen-changelog] [xen-unstable] tools: Rationalise library soname versions.
- Re: [Xen-changelog] Fix NX/XD enable on secondary CPUs.