1 |
commit: 8ade87f50689f725e66548fedbe436c5f642c330 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 26 03:51:55 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 26 07:12:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8ade87f5 |
7 |
|
8 |
config_kernel(): rewrite --splash handling |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
gen_configkernel.sh | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
diff --git a/gen_configkernel.sh b/gen_configkernel.sh |
16 |
index e80efa8..898bbdd 100755 |
17 |
--- a/gen_configkernel.sh |
18 |
+++ b/gen_configkernel.sh |
19 |
@@ -393,9 +393,15 @@ config_kernel() { |
20 |
kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_HYPERV_TSCPAGE" "y" |
21 |
fi |
22 |
|
23 |
+ # Make sure kernel supports Splash, if --splash |
24 |
if isTrue "${SPLASH}" |
25 |
then |
26 |
+ print_info 1 "$(getIndent 1)>> Ensure that required kernel options for Splash support are set..." |
27 |
kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_FB_SPLASH" "y" |
28 |
+ kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_VT" "y" |
29 |
+ kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_TTY" "y" |
30 |
+ kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_FB" "y" |
31 |
+ kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_FRAMEBUFFER_CONSOLE" "y" |
32 |
kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_FB_CON_DECOR" "y" |
33 |
fi |