[18:47] <sveinse> How can I runtime determine if a system is armel or armhf?
[18:48] <Tassadar> uname -m?
[18:49] <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:50] <sveinse> armel vs armhf is not about the machine, its about a gcc config (of sorts)
[18:51] <sveinse> I'
[18:52] <sveinse> I'll answer myself: dpkg --print-architecture
[23:21] <infinity> Tassadar: uname is never the right way to determine userspace arch, on any arch.
[23:34] <Tassadar> infinity: why? it takes info only from the kernel?
[23:35] <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.