mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
WALinuxAgent falls back to using the `distro` module to figure out the distribution details in case the `get_linux_distribution` function from the builtin `platform` module is not able to do it. With the update of python-oem to python3, the distribution detection broke, because we stopped carrying a patch that implemented fetching the distribution information from `/etc/os-release`. It does not make sense to backport that patch though, because `platform.get_linux_distribution` is deprecated and removed in python 3.7 or 3.8. So when we update python3 to the newer version, we would need to add the `distro` module anyway. Maybe we can drop `distro-oem` module in future, when python-oem will use version 3.10 and WALinuxAgent starts using the newly added functionality in 3.10 to figure out the distribution information. |
||
---|---|---|
.. | ||
src/third_party/coreos-overlay |