From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 15DF9138334 for ; 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 36154E0940; 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 1B5E7E0940 for ; 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 E33C6347AE3 for ; Mon, 15 Jul 2019 12:27:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91408266 for ; Mon, 15 Jul 2019 12:27:52 +0000 (UTC) From: "Thomas Deutschmann" 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" Message-ID: <1563193344.afe05cccd9fa75d542472db15f1b76dbc546f188.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: afe05cccd9fa75d542472db15f1b76dbc546f188 X-VCS-Branch: master Date: Mon, 15 Jul 2019 12:27:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2957d50f-cb17-4a68-a7be-2fd62a9011c2 X-Archives-Hash: 2fcd46824ca113631028609827c8ca27 commit: afe05cccd9fa75d542472db15f1b76dbc546f188 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Jul 15 12:22:24 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Jul 15 12:22:24 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=afe05ccc genkernel: Show path to initramfs only when we actually built an initramfs Fixes b581f3c5b ("genkernel: Reformat initramfs parameter output") Signed-off-by: Thomas Deutschmann gentoo.org> genkernel | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/genkernel b/genkernel index 1f95854..6f86063 100755 --- a/genkernel +++ b/genkernel @@ -358,11 +358,16 @@ then else print_info 1 '' print_info 1 "You will find the kernel image in '${TMPDIR}/kernel-${KNAME}-${ARCH}-${KV}'." + if isTrue "${GENZIMAGE}" then print_info 1 "You will find the kernelz binary in '${TMPDIR}/kernelz-${KV}'." fi - print_info 1 "You will find the initramfs in '${TMPDIR}/initramfs-${KNAME}-${ARCH}-${KV}'." + + if isTrue "${BUILD_RAMDISK}" + then + print_info 1 "You will find the initramfs in '${TMPDIR}/initramfs-${KNAME}-${ARCH}-${KV}'." + fi fi print_info 1 '' @@ -377,7 +382,7 @@ then then echo print_warning 1 "If you require Genkernel's hardware detection features, you ${BOLD}MUST${NORMAL}" - print_warning 1 'tell your bootloader to use the provided initramfs file.' + print_warning 1 "tell your bootloader to use the provided initramfs file (${TMPDIR}/initramfs-${KNAME}-${ARCH}-${KV})." fi unset show_warning_initramfs_is_required fi