balena-os / balena-engine

Moby-based Container Engine for Embedded, IoT, and Edge uses
https://www.balena.io
Apache License 2.0
696 stars 67 forks source link

Stub the kernel version check #450

Closed klutchell closed 11 months ago

klutchell commented 11 months ago

Stub the kernel check as the builder workers are using the UNAME26 personality to return armv6l

Change-type: patch See: https://balena.zulipchat.com/#narrow/stream/346007-balena-io.2FbalenaCloud/topic/setarch.20and.20uname-2.2E6 See: https://github.com/balena-io/balena-builder-worker/pull/45 See: https://github.com/balena-io/balena-builder-worker/actions/runs/7064499456/job/19232692890?pr=45#step:19:282

klutchell commented 11 months ago

This code has been here for 7+ years and was not introduced recently. The compat_uts_machine kernel patches when applied correctly will not return 2.6 as the kernel version and instead will adopt the armv6l personality.