From c004c6e14d00845f9ee15f0f992eb06325f1bdd8 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Mon, 29 Aug 2016 03:01:25 +0300 Subject: [PATCH] kernel config: Explicitly enable some stuff not enabled by 'make alldefconfig' List of what to enable taken from https://lwn.net/Articles/672587/. This doesn't change the resulting x86 configs, but is more useful for other architectures. For instance, POSIX_MQUEUE is currently missing on ARM. --- pkgs/os-specific/linux/kernel/common-config.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 7cec276a4faf..e8d52cc240f0 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -107,6 +107,7 @@ with stdenv.lib; WAN y # Networking options. + NET y IP_PNP n ${optionalString (versionOlder version "3.13") '' IPV6_PRIVACY y @@ -210,6 +211,7 @@ with stdenv.lib; # Filesystem options - in particular, enable extended attributes and # ACLs for all filesystems that support them. FANOTIFY y + TMPFS y EXT2_FS_XATTR y EXT2_FS_POSIX_ACL y EXT2_FS_SECURITY y @@ -313,6 +315,7 @@ with stdenv.lib; ${optionalString (versionOlder version "4.4") '' B43_PCMCIA? y ''} + BLK_DEV_INITRD y BLK_DEV_INTEGRITY y BSD_PROCESS_ACCT_V3 y BT_HCIUART_BCSP? y @@ -323,8 +326,10 @@ with stdenv.lib; CRASH_DUMP? n DVB_DYNAMIC_MINORS? y # we use udev EFI_STUB y # EFI bootloader in the bzImage itself + CGROUPS y # used by systemd FHANDLE y # used by systemd SECCOMP y # used by systemd >= 231 + POSIX_MQUEUE y FRONTSWAP y FUSION y # Fusion MPT device support IDE n # deprecated IDE support