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:'