linux: FS_ENCRYPTION only for >= 4.9 kernels

This commit is contained in:
Tim Steinbach 2017-05-25 18:25:08 -04:00
parent 8f0ca4f44a
commit 690a83091b
No known key found for this signature in database
GPG Key ID: 472BFCCA96BD0EDA

View File

@ -238,7 +238,9 @@ with stdenv.lib;
FANOTIFY y
TMPFS y
TMPFS_POSIX_ACL y
FS_ENCRYPTION? m
${optionalString (versionAtLeast version "4.9") ''
FS_ENCRYPTION? m
''}
EXT2_FS_XATTR y
EXT2_FS_POSIX_ACL y
EXT2_FS_SECURITY y