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