![]() On the very popular Raspberry Pi 1 and Zero devices, the CPU is actually ARMv6, but the chip happens to support the feature bit the kernel uses to differentiate v6/v7, so it gets reported as "CPU architecture: 7" and thus fails to run many of the images that get pulled. To account for this very popular edge case, this also checks "model name" which on these chips will begin with "ARMv6-compatible" -- we could also check uname, but getCPUInfo is already handy, low overhead, and mirrors the code before this. Signed-off-by: Tianon Gravi <admwiggin@gmail.com> |
||
---|---|---|
.. | ||
compare.go | ||
cpuinfo_test.go | ||
cpuinfo.go | ||
database.go | ||
defaults_test.go | ||
defaults_unix.go | ||
defaults_windows.go | ||
defaults.go | ||
platforms_test.go | ||
platforms.go |