kernel config: Add some filesystem options

Enable encryption support for both F2FS and ext4. For ext4 this is a bit
tricky, since pre-4.8 the way to enable it as a module was just
"EXT4_ENCRYPTION=m" but after that it changed to "FS_ENCRYPTION=m &&
EXT4_ENCRYPTION=y".

Also make sure UDF is enabled.
This commit is contained in:
Tuomas Tynkkynen 2016-10-19 16:39:00 +03:00
parent c48fd00fae
commit 59f12d9394

View file

@ -210,6 +210,7 @@ with stdenv.lib;
# ACLs for all filesystems that support them.
FANOTIFY y
TMPFS y
FS_ENCRYPTION? m
EXT2_FS_XATTR y
EXT2_FS_POSIX_ACL y
EXT2_FS_SECURITY y
@ -219,6 +220,7 @@ with stdenv.lib;
EXT3_FS_POSIX_ACL y
EXT3_FS_SECURITY y
EXT4_FS_POSIX_ACL y
EXT4_ENCRYPTION? ${if versionOlder version "4.8" then "m" else "y"}
EXT4_FS_SECURITY y
REISERFS_FS_XATTR? y
REISERFS_FS_POSIX_ACL? y
@ -231,6 +233,10 @@ with stdenv.lib;
OCFS2_DEBUG_MASKLOG? n
BTRFS_FS_POSIX_ACL y
UBIFS_FS_ADVANCED_COMPR? y
F2FS_FS m
F2FS_FS_SECURITY? y
F2FS_FS_ENCRYPTION? y
UDF_FS m
${optionalString (versionAtLeast version "4.0" && versionOlder version "4.6") ''
NFSD_PNFS y
''}