1 |
commit: b5c0ce739f90eeb8408616dd04971951129a5016 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 27 22:48:16 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 13:45:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=b5c0ce73 |
7 |
|
8 |
gen_configkernel.sh: config_kernel(): Ensure kernel supports TMPFS |
9 |
|
10 |
This is required for UDEV support. |
11 |
|
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
gen_configkernel.sh | 5 +++++ |
15 |
1 file changed, 5 insertions(+) |
16 |
|
17 |
diff --git a/gen_configkernel.sh b/gen_configkernel.sh |
18 |
index d08a8d9..56b5665 100755 |
19 |
--- a/gen_configkernel.sh |
20 |
+++ b/gen_configkernel.sh |
21 |
@@ -350,6 +350,11 @@ config_kernel() { |
22 |
kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_BLK_DEV_INITRD" "y" |
23 |
|
24 |
# Stuff required by init script |
25 |
+ kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_MMU" "y" |
26 |
+ kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_SHMEM" "y" |
27 |
+ kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_TMPFS" "y" \ |
28 |
+ && required_kernel_options+=( 'CONFIG_TMPFS' ) |
29 |
+ |
30 |
kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_TTY" "y" \ |
31 |
&& required_kernel_options+=( 'CONFIG_TTY' ) |