From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1099628-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5B46D138335
	for <garchives@archives.gentoo.org>; Mon, 15 Jul 2019 12:27:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 48B07E0958;
	Mon, 15 Jul 2019 12:27:56 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2ED07E0958
	for <gentoo-commits@lists.gentoo.org>; Mon, 15 Jul 2019 12:27:56 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 01FB5347B01
	for <gentoo-commits@lists.gentoo.org>; Mon, 15 Jul 2019 12:27:55 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A3D125F1
	for <gentoo-commits@lists.gentoo.org>; Mon, 15 Jul 2019 12:27:52 +0000 (UTC)
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" <whissi@gentoo.org>
Message-ID: <1563193446.bf0f1ed3aae8d4d1136ae51d6f01c775f8b9195d.whissi@gentoo>
Subject: [gentoo-commits] proj/genkernel:master commit in: /
X-VCS-Repository: proj/genkernel
X-VCS-Files: genkernel
X-VCS-Directories: /
X-VCS-Committer: whissi
X-VCS-Committer-Name: Thomas Deutschmann
X-VCS-Revision: bf0f1ed3aae8d4d1136ae51d6f01c775f8b9195d
X-VCS-Branch: master
Date: Mon, 15 Jul 2019 12:27:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b66e809c-554a-48ea-b571-f0f4ec6c513a
X-Archives-Hash: 57df64805101b8bfd7390e8c97b12b47

commit:     bf0f1ed3aae8d4d1136ae51d6f01c775f8b9195d
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 12:24:06 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 12:24:06 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=bf0f1ed3

genkernel: Show path to initramfs when we did not build kernel and run with --no-install

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 genkernel | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/genkernel b/genkernel
index 6f86063..dbe4352 100755
--- a/genkernel
+++ b/genkernel
@@ -389,6 +389,12 @@ fi
 
 if isTrue "${BUILD_RAMDISK}"
 then
+	if ! isTrue "${BUILD_KERNEL}" && ! isTrue "${CMD_INSTALL}"
+	then
+		print_info 1 ''
+		print_info 1 "You will find the initramfs in '${TMPDIR}/initramfs-${KNAME}-${ARCH}-${KV}'."
+	fi
+
 	echo
 	print_warning 1 "${BOLD}WARNING... WARNING... WARNING...${NORMAL}"
 	print_warning 1 'Additional kernel parameters that *may* be required to boot properly:'