From 0d1c39443b616408886cd8e9597d498c35d17e66 Mon Sep 17 00:00:00 2001
From: Thomas Strobel <ts468@cam.ac.uk>
Date: Mon, 16 Feb 2015 19:42:10 +0100
Subject: [PATCH] Change kernel config: improve squashfs support of kernel

---
 pkgs/os-specific/linux/kernel/common-config.nix | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 3e92e9c3fa6..7889e9c3cab 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -189,6 +189,12 @@ with stdenv.lib;
   ${optionalString (versionAtLeast version "3.14") ''
     CEPH_FS_POSIX_ACL y
   ''}
+  SQUASHFS_FILE_DIRECT y
+  SQUASHFS_DECOMP_MULTI_PERCPU y
+  SQUASHFS_XATTR y
+  SQUASHFS_ZLIB y
+  SQUASHFS_LZO y
+  SQUASHFS_XZ y
 
   # Security related features.
   STRICT_DEVMEM y # Filter access to /dev/mem