diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-12-29 05:01:27 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-12-29 05:01:27 +0100 |
commit | 9e10c8f8777bb4bae015f174beb11711ab0b719d (patch) | |
tree | dee7782d027b9eb254b82ca4649d00214d146eb1 | |
parent | gen_configkernel.sh: config_kernel(): Make sure that CONFIG_INITRAMFS_SOURCE ... (diff) | |
download | genkernel-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-x | genkernel | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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}" |