sdk-ng
sdk-ng copied to clipboard
Migrate Linux CI environment to Debian 10
trafficstars
The current Zephyr SDK Linux CI build environment is based on Ubuntu 18.04 in order to ensure that the Linux Zephyr SDK binaries remain compatible with Ubuntu 18.04 and other distro releases of the same era (glibc 2.27).
This proposes to increase the minimum host "compatibility level" of the Linux Zephyr SDK binaries to Debian 10 (glibc 2.28) because:
- Ubuntu 18.04 is over 6 years old at this point.
- Ubuntu 18.04 has reached the end of "standard support" in April 2023.
- Nobody is/should be using it on their development machine.
The following are the glibc versions of the major distro releases from the past 10 years:
| Distro | glibc |
|---|---|
| Debian 9 | 2.24 |
| Debian 10 | 2.28 |
| Debian 11 | 2.31 |
| Debian 12 | 2.36 |
| RHEL 7 | 2.17 |
| RHEL 8 | 2.28 |
| RHEL 9 | 2.34 |
| Ubuntu 18.04 | 2.27 |
| Ubuntu 20.04 | 2.31 |
| Ubuntu 22.04 | 2.35 |
| Ubuntu 24.04 | 2.39 |
Targeting glibc 2.28 would ensure compatibility with Debian 10+, RHEL 8+ and Ubuntu 20.04+, which is a fairly reasonable range of distro releases.