diff options
author | Daniel Golle <daniel@makrotopia.org> | 2020-12-09 12:45:55 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-12-14 17:26:45 +0000 |
commit | 23049f9c31f030829980b7e32e424435572ae9ac (patch) | |
tree | b5bb521d83973160ff98c655473dfc27c00f18a4 | |
parent | c74ae8957471ecf27bd8e70fb55f6841bcf3c618 (diff) | |
download | upstream-23049f9c31f030829980b7e32e424435572ae9ac.tar.gz upstream-23049f9c31f030829980b7e32e424435572ae9ac.tar.bz2 upstream-23049f9c31f030829980b7e32e424435572ae9ac.zip |
kernel: enable kernel keyring by default on !SMALL_FLASH
Enable CONFIG_KEYS by default on systems which are not marked as
flash-space constraint by the 'small_flash' feature.
CONFIG_KEYS is required by Docker, enabling it in our kernel allows
users to run Docker on stock OpenWrt.
It is also used of by some network file systems (such as NFSv4) to
store credentials as well as UID/GID mappings.
Adds about 50kB to vmlinux on ath79/generic (~18kB compressed)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r-- | config/Config-kernel.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in index b5eba78719..3f013aa2b2 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -532,7 +532,7 @@ endif config KERNEL_KEYS bool "Enable kernel access key retention support" - default n + default !SMALL_FLASH config KERNEL_PERSISTENT_KEYRINGS bool "Enable kernel persistent keyrings" |