commit:     1b395dd9d38690a0786d750c422d3bd652460a4b
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 14 17:37:30 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Dec 14 18:44:40 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=1b395dd9

genkernel: Don't advertise initramfs when it was integrated into kernel

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

 genkernel | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/genkernel b/genkernel
index c345c04..93f670e 100755
--- a/genkernel
+++ b/genkernel
@@ -432,7 +432,13 @@ then
 
                if isTrue "${BUILD_RAMDISK}"
                then
-                       print_info 1 "You will find the initramfs in 
'${TMPDIR}/${GK_FILENAME_TEMP_INITRAMFS}'."
+                       if isTrue "${INTEGRATED_INITRAMFS}"
+                       then
+                               show_warning_initramfs_is_required=no
+                               print_info 1 "Initramfs is integrated into 
kernel image."
+                       else
+                               print_info 1 "You will find the initramfs in 
'${TMPDIR}/${GK_FILENAME_TEMP_INITRAMFS}'."
+                       fi
                fi
        fi
 

Reply via email to