=== hholtmann_ is now known as hholtmann | ||
sveinse | How can I runtime determine if a system is armel or armhf? | 18:47 |
---|---|---|
Tassadar | uname -m? | 18:48 |
sveinse | It return armv7l on armel at least. I dont have a armhr system right now, but I'd guess it returns the same | 18:49 |
sveinse | armel vs armhf is not about the machine, its about a gcc config (of sorts) | 18:50 |
sveinse | I' | 18:51 |
sveinse | I'll answer myself: dpkg --print-architecture | 18:52 |
infinity | Tassadar: uname is never the right way to determine userspace arch, on any arch. | 23:21 |
Tassadar | infinity: why? it takes info only from the kernel? | 23:34 |
infinity | Tassadar: Exactly that, yes. | 23:35 |
Tassadar | k, I'll remember that, thanks) | 23:35 |
infinity | Tassadar: You can have an i386 userspace on an x86_64 kernel, or powerpc on ppc64 or, in fun virtualisation scenarios, things like armhf on i386. | 23:35 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!