[Freeipa-devel] [PATCH] Fix architecture detection in ldapupdate

Rob Crittenden rcritten at redhat.com
Fri Sep 19 12:08:25 UTC 2008


Stephen Gallagher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Martin Nagy wrote:
>> I noticed the architecture detection won't work, since
>> platform.platform() will return something like
>> 'Linux-2.6.25.14-108.fc9.i686-i686-with-fedora-9-Sulphur'. After the
>> patch the detection should be better and we explicitly ask about the
>> bits, not just the arch.
>>
>> I also did a tiny change in a while loop.
>>
>> Martin
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Freeipa-devel mailing list
>> Freeipa-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-devel
> 
> Since I don't know where this return value goes, I want to ask a
> question. Is it only the 64-bit nature that matters, or is the x86_64
> architecture directly relevant?
> 
> In other words, the previous code was checking for x86_64 processors
> only, but now you've expanded it to potentially include IA64, Sparc64, etc.
> 

I wasn't being that clever (excluding other arches). The target arch for 
the server right now is intel-only.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080919/fcaca5b8/attachment.bin>


More information about the Freeipa-devel mailing list