[PATCH] docs: $arch does not map 1:1 to uname(2) arch. BZ 1003554
Panu Matilainen
pmatilai at laiskiainen.org
Tue Sep 3 09:08:32 UTC 2013
On 09/03/2013 11:52 AM, Zdenek Pavlas wrote:
>> Unable to access the referenced bug, but:
>
> Basically ppl complain that $arch != os.uname()[4], although
> it's clearly documented to be the same.. For x86_64 arches
> $arch == amd64 or ia32e, depending on the vendor.
>
>>> -This will be replaced with your architecture as listed by os.uname()[4] in
>>> -Python.
>>> +This will be replaced with your architecture, as detected using
>>> +the uname() syscall and /proc/cpuinfo parsing.
>>
>> IMHO it might not be the best idea to document implementation details
>> at this level in the man page. It's subject to bitrot which is proven
>> by the above patch...
Indeed.
> Hmm, so just kill the uname() note then?
How about just:
"This will be replaced with the architecture of your system as detected
by yum."
- Panu -
More information about the Yum-devel
mailing list