mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
Since moving call to dracut into the coreos-kernel package in pkg_setup step the pkg_setup function provided by linux-info hasn't been called, breaking tc-arch-kernel which depends on the detected kernel version to know if it should return "x86" or "x86_64". Instead of calling `linux-info_pkg_setup` we now call `get_version` directly which only looks up the version in the source, the old behavior allowed for falling back to `get_running_version` which is not useful.