AsteroidOS / asteroid

Build script for AsteroidOS, an open-source operating system for smartwatches
http://asteroidos.org
GNU General Public License v2.0
884 stars 64 forks source link

[Update] Rebase to a later kernel #162

Open Doomsdayrs opened 3 years ago

Doomsdayrs commented 3 years ago

Currently, AsteroidOS runs on Linux 3.10.17. The 3.10 tag being released around 2013. It has been deprecated years ago.

How much effort would be required to rebase onto 5.10 LTS for another half a decade of support?

jrtberlin commented 3 years ago

Hi, I would say it's a lot of work. There is no specific kernel version for AsteroidOS. The Huawei Watch 2 for example runs 3.18. These are vendor kernel provided by the manufacturer for the specific device and up-streaming isn't very common for mobile device makers.

parkerlreed commented 3 years ago

Yeah the proprietary vendor blobs prevent updating to newer kernels without a ton of work. Same reason a lot of Android phones are still on 3.x as well.

SkewedZeppelin commented 3 years ago

The effort required to rebase or mainline these devices is immense and will almost definitely never happen. The most viable effort I've found to improve the situation is automated CVE patching. It is not perfect and has pitfalls, but seems to work quite well in my use over the past 4+ years.

See https://github.com/AsteroidOS/asteroid/issues/165 for examples