From: Amadeusz Żołnowski Date: Sun, 16 Aug 2015 09:47:49 +0000 (+0100) Subject: sys-kernel/dracut: Don't complain about missing sources X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22f8c70f262bd5d8c3f6b0fc4fb69693728c6af6;p=gentoo.git sys-kernel/dracut: Don't complain about missing sources Use /proc/config.gz if sources are not installed. Gentoo-Bug: 508652 Package-Manager: portage-2.2.20.1 --- diff --git a/sys-kernel/dracut/dracut-034-r4.ebuild b/sys-kernel/dracut/dracut-034-r4.ebuild index ea80f7f2d827..041e7e699623 100644 --- a/sys-kernel/dracut/dracut-034-r4.ebuild +++ b/sys-kernel/dracut/dracut-034-r4.ebuild @@ -284,7 +284,7 @@ src_install() { } pkg_postinst() { - if linux-info_get_any_version && linux_config_src_exists; then + if linux-info_get_any_version && linux_config_exists; then ewarn "" ewarn "If the following test report contains a missing kernel" ewarn "configuration option, you should reconfigure and rebuild your" diff --git a/sys-kernel/dracut/dracut-040-r3.ebuild b/sys-kernel/dracut/dracut-040-r3.ebuild index 0ab6bd89b9a9..8bf31be63b58 100644 --- a/sys-kernel/dracut/dracut-040-r3.ebuild +++ b/sys-kernel/dracut/dracut-040-r3.ebuild @@ -198,7 +198,7 @@ src_install() { } pkg_postinst() { - if linux-info_get_any_version && linux_config_src_exists; then + if linux-info_get_any_version && linux_config_exists; then ewarn "" ewarn "If the following test report contains a missing kernel" ewarn "configuration option, you should reconfigure and rebuild your" diff --git a/sys-kernel/dracut/dracut-041-r3.ebuild b/sys-kernel/dracut/dracut-041-r3.ebuild index a7318cbf1f8c..d96e6477c089 100644 --- a/sys-kernel/dracut/dracut-041-r3.ebuild +++ b/sys-kernel/dracut/dracut-041-r3.ebuild @@ -206,7 +206,7 @@ src_install() { } pkg_postinst() { - if linux-info_get_any_version && linux_config_src_exists; then + if linux-info_get_any_version && linux_config_exists; then ewarn "" ewarn "If the following test report contains a missing kernel" ewarn "configuration option, you should reconfigure and rebuild your" diff --git a/sys-kernel/dracut/dracut-043-r1.ebuild b/sys-kernel/dracut/dracut-043-r1.ebuild index e38d97c843dd..6c1646423289 100644 --- a/sys-kernel/dracut/dracut-043-r1.ebuild +++ b/sys-kernel/dracut/dracut-043-r1.ebuild @@ -202,7 +202,7 @@ src_install() { } pkg_postinst() { - if linux-info_get_any_version && linux_config_src_exists; then + if linux-info_get_any_version && linux_config_exists; then ewarn "" ewarn "If the following test report contains a missing kernel" ewarn "configuration option, you should reconfigure and rebuild your" diff --git a/sys-kernel/dracut/dracut-043.ebuild b/sys-kernel/dracut/dracut-043.ebuild index 04eb96479f1e..290055ae959a 100644 --- a/sys-kernel/dracut/dracut-043.ebuild +++ b/sys-kernel/dracut/dracut-043.ebuild @@ -197,7 +197,7 @@ src_install() { } pkg_postinst() { - if linux-info_get_any_version && linux_config_src_exists; then + if linux-info_get_any_version && linux_config_exists; then ewarn "" ewarn "If the following test report contains a missing kernel" ewarn "configuration option, you should reconfigure and rebuild your"