Skip to content
Snippets Groups Projects
Commit 23049f9c authored by Daniel Golle's avatar Daniel Golle
Browse files

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: default avatarDaniel Golle <daniel@makrotopia.org>
parent c74ae895
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment