aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-12-29 05:01:27 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-12-29 05:01:27 +0100
commit9e10c8f8777bb4bae015f174beb11711ab0b719d (patch)
treedee7782d027b9eb254b82ca4649d00214d146eb1
parentgen_configkernel.sh: config_kernel(): Make sure that CONFIG_INITRAMFS_SOURCE ... (diff)
downloadgenkernel-9e10c8f8.tar.gz
genkernel-9e10c8f8.tar.bz2
genkernel-9e10c8f8.zip
genkernel: Don't advertise initramfs when it was integrated into kernel (2)
Commit 1b395dd9d38690a0786d750c422d3bd652460a4b only handled the case when --no-install was set. This commit will also handle the case when --install is set. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rwxr-xr-xgenkernel7
1 files changed, 7 insertions, 0 deletions
diff --git a/genkernel b/genkernel
index 3d25634..ae2df04 100755
--- a/genkernel
+++ b/genkernel
@@ -458,6 +458,13 @@ then
print_info 1 ''
print_info 1 'Where $ROOT is the device node for your root partition as the'
print_info 1 'one specified in /etc/fstab'
+
+ if isTrue "${INTEGRATED_INITRAMFS}" && isTrue "${BUILD_RAMDISK}"
+ then
+ show_warning_initramfs_is_required=no
+ print_info 1 ''
+ print_info 1 "Initramfs is integrated into kernel image."
+ fi
fi
if isTrue "${show_warning_initramfs_is_required}" && isTrue "${BUILD_RAMDISK}"