linux-info.eclass: Move get_version to require_configured_kernel
authorMichał Górny <mgorny@gentoo.org>
Thu, 8 Mar 2018 16:10:08 +0000 (17:10 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 9 Jul 2018 16:54:46 +0000 (18:54 +0200)
commit9f8e8c912516f1f1beab088bf85cdd0ec4e80acf
tree61cef3ef1c8fe44f096b4d0897bc91932395fbb6
parentf9f016032cbd8f804c9144629b595008e966cdaa
linux-info.eclass: Move get_version to require_configured_kernel

All require_configured_kernel calls in this eclass are followed
by a get_version call. Since even calling it proactively wouldn't hurt,
move it to require_configured_kernel. This saves us from having
to manually implement error handling for it everywhere.
eclass/linux-info.eclass