[systemd-devel] Add ARCH parameter to /etc/os-release
Koen Kooi
koen at dominion.thruhere.net
Sun Apr 7 13:15:49 PDT 2013
Op 7 apr. 2013, om 22:11 heeft Reindl Harald <h.reindl at thelounge.net> het volgende geschreven:
>
>
> Am 07.04.2013 22:04, schrieb Koen Kooi:
>>
>> Op 7 apr. 2013, om 11:47 heeft Reindl Harald <h.reindl at thelounge.net> het volgende geschreven:
>>
>>>
>>>
>>> Am 07.04.2013 09:56, schrieb Koen Kooi:
>>>>
>>>> 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
>>>
>>> how will you do that?
>>
>> Enable 64 bit support and 32 bit compat, build, boot
>
> bullshit, you can not run a 64bit kernel on a 32bit CPU
> the other direction yes, but not this way
Yes, you can, just set CONFIG_64BIT and 32 bit compat, the kernel will run fine on an Atom E6xx and uname will report x86_64.
More information about the systemd-devel
mailing list