1 |
commit: 1b395dd9d38690a0786d750c422d3bd652460a4b |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 14 17:37:30 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 14 18:44:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=1b395dd9 |
7 |
|
8 |
genkernel: Don't advertise initramfs when it was integrated into kernel |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
genkernel | 8 +++++++- |
13 |
1 file changed, 7 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/genkernel b/genkernel |
16 |
index c345c04..93f670e 100755 |
17 |
--- a/genkernel |
18 |
+++ b/genkernel |
19 |
@@ -432,7 +432,13 @@ then |
20 |
|
21 |
if isTrue "${BUILD_RAMDISK}" |
22 |
then |
23 |
- print_info 1 "You will find the initramfs in '${TMPDIR}/${GK_FILENAME_TEMP_INITRAMFS}'." |
24 |
+ if isTrue "${INTEGRATED_INITRAMFS}" |
25 |
+ then |
26 |
+ show_warning_initramfs_is_required=no |
27 |
+ print_info 1 "Initramfs is integrated into kernel image." |
28 |
+ else |
29 |
+ print_info 1 "You will find the initramfs in '${TMPDIR}/${GK_FILENAME_TEMP_INITRAMFS}'." |
30 |
+ fi |
31 |
fi |
32 |
fi |