Added auxbin module, for handling auxillary binaries.
Review
Quoted 6 lines · Xen patchbot -unstable
(quoted diff) +6
-0+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
Quoted 10 lines · Jeremy Katz
Review
Quoted 6 lines · Xen patchbot -unstable
(quoted diff) +6
-0+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
So could you tell me which path I should use for which uname -m?
Ewan.