diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index d5eb0e73fcfa4..5adecb3a26968 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -630,7 +630,9 @@ get_running_version() { linux-info_get_any_version() { if ! get_version; then ewarn "Unable to calculate Linux Kernel version for build, attempting to use running version" - get_running_version + if ! get_running_version; then + die "Unable to determine any Linux Kernel version, please report a bug" + fi fi }