diff options
author | 2020-08-28 00:48:16 +0200 | |
---|---|---|
committer | 2020-08-28 15:45:37 +0200 | |
commit | b5c0ce739f90eeb8408616dd04971951129a5016 (patch) | |
tree | 95f52e5de035a8aa4665f0c197a8e1ee68c6d171 /gen_configkernel.sh | |
parent | defaults/linuxrc: Support devices with symlinks (2) (diff) | |
download | genkernel-b5c0ce739f90eeb8408616dd04971951129a5016.tar.gz genkernel-b5c0ce739f90eeb8408616dd04971951129a5016.tar.bz2 genkernel-b5c0ce739f90eeb8408616dd04971951129a5016.zip |
gen_configkernel.sh: config_kernel(): Ensure kernel supports TMPFS
This is required for UDEV support.
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_configkernel.sh')
-rwxr-xr-x | gen_configkernel.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gen_configkernel.sh b/gen_configkernel.sh index d08a8d98..56b56650 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' ) |