linux-info.eclass: require_configured_kernel, improve error handling
authorMichał Górny <mgorny@gentoo.org>
Thu, 8 Mar 2018 16:12:09 +0000 (17:12 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 9 Jul 2018 16:54:46 +0000 (18:54 +0200)
commit72f2edae1b1883797bd4c5c3316f3b7020c25796
tree0b9fbe857ff8035e1fafd292cb5099513ef4911a
parent9f8e8c912516f1f1beab088bf85cdd0ec4e80acf
linux-info.eclass: require_configured_kernel, improve error handling

Add error handling for failing get_version call
in require_configured_kernel. Give just a simple 'die' message since
the get_version function should verbosely explain the problem.
eclass/linux-info.eclass