From 22f8c70f262bd5d8c3f6b0fc4fb69693728c6af6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Amadeusz=20=C5=BBo=C5=82nowski?= Date: Sun, 16 Aug 2015 10:47:49 +0100 Subject: [PATCH] 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 --- sys-kernel/dracut/dracut-034-r4.ebuild | 2 +- sys-kernel/dracut/dracut-040-r3.ebuild | 2 +- sys-kernel/dracut/dracut-041-r3.ebuild | 2 +- sys-kernel/dracut/dracut-043-r1.ebuild | 2 +- sys-kernel/dracut/dracut-043.ebuild | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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" -- 2.26.2