[systemd-devel] Add ARCH parameter to /etc/os-release
Koen Kooi
koen at dominion.thruhere.net
Sun Apr 7 00:56:09 PDT 2013
Op 6 apr. 2013, om 22:41 heeft Reindl Harald <h.reindl at thelounge.net> het volgende geschreven:
>
>
> Am 06.04.2013 22:37, schrieb Askar Safin:
>>> What is "primary arch"? The arch of init? ls? the package manager?
>> As far as I know today there is no true symmetric multiarch. Every multiarched system has one clear primary arch. And several additional arches. So, today (I think) the parameter ARCH should content all arches and the primary arch should go first. If this situation changes in the future, then ARCH can be list of equal arches.
>>
>>> usually the kernel ones?
>> Yes, this is good idea. But then, of course, this is arch of this system's own kernel, not arch of current running kernel.
>
> i would wonder if this below is not predictable the arch from the running kernel
>
> [harry at srv-rhsoft:~]$ /usr/bin/uname -i
> x86_64
No, run that kernel on a 32bit Atom cpu and it will still return x86_64. I only /proc/cpuinfo had a standard layout :(
regards,
Koen
More information about the systemd-devel
mailing list