Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Sun, 29 Dec 2019 04:04:02
Message-Id: 1577592087.9e10c8f8777bb4bae015f174beb11711ab0b719d.whissi@gentoo
1 commit: 9e10c8f8777bb4bae015f174beb11711ab0b719d
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 29 04:01:27 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 29 04:01:27 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=9e10c8f8
7
8 genkernel: Don't advertise initramfs when it was integrated into kernel (2)
9
10 Commit 1b395dd9d38690a0786d750c422d3bd652460a4b only handled the case
11 when --no-install was set.
12
13 This commit will also handle the case when --install is set.
14
15 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
16
17 genkernel | 7 +++++++
18 1 file changed, 7 insertions(+)
19
20 diff --git a/genkernel b/genkernel
21 index 3d25634..ae2df04 100755
22 --- a/genkernel
23 +++ b/genkernel
24 @@ -458,6 +458,13 @@ then
25 print_info 1 ''
26 print_info 1 'Where $ROOT is the device node for your root partition as the'
27 print_info 1 'one specified in /etc/fstab'
28 +
29 + if isTrue "${INTEGRATED_INITRAMFS}" && isTrue "${BUILD_RAMDISK}"
30 + then
31 + show_warning_initramfs_is_required=no
32 + print_info 1 ''
33 + print_info 1 "Initramfs is integrated into kernel image."
34 + fi
35 fi
36
37 if isTrue "${show_warning_initramfs_is_required}" && isTrue "${BUILD_RAMDISK}"