containerd/platforms
Tianon Gravi 2055e12953 Add RPi1/RPi0 workaround
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>
2020-09-04 14:19:37 -07:00
..
compare.go Improve ARM platform matching 2019-05-10 16:27:20 +02:00
cpuinfo_test.go Licence header added 2018-02-19 10:32:26 +09:00
cpuinfo.go Add RPi1/RPi0 workaround 2020-09-04 14:19:37 -07:00
database.go Merge pull request #3624 from tklauser/platforms-update 2019-09-05 16:53:37 -07:00
defaults_test.go Add platform match comparer interface 2018-08-27 00:11:46 -07:00
defaults_unix.go Introduce the Windows lcow diff/snaphotter 2018-08-28 13:51:04 -07:00
defaults_windows.go Introduce the Windows lcow diff/snaphotter 2018-08-28 13:51:04 -07:00
defaults.go Introduce the Windows lcow diff/snaphotter 2018-08-28 13:51:04 -07:00
platforms_test.go platforms: fill default arm variant when parse platform specifier 2020-01-08 13:35:49 +08:00
platforms.go platforms: fill default arm variant when parse platform specifier 2020-01-08 13:35:49 +08:00