commit:     22f8c70f262bd5d8c3f6b0fc4fb69693728c6af6
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 16 09:47:49 2015 +0000
Commit:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sun Aug 16 09:58:50 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22f8c70f

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 ea80f7f..041e7e6 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 0ab6bd8..8bf31be 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 a7318cb..d96e647 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 e38d97c..6c16464 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 04eb964..290055a 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"

Reply via email to