From 2ba0d9d3ae9da72620a40d38935201ea3df949a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 30 Mar 2013 18:12:06 +0100 Subject: [PATCH] fuloong linux: add CGROUPS and disable FTRACE FTRACE was making linux not load at all. And systemd wants cgroups. --- pkgs/top-level/platforms.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/platforms.nix b/pkgs/top-level/platforms.nix index b1406c615bd..3c53be875e3 100644 --- a/pkgs/top-level/platforms.nix +++ b/pkgs/top-level/platforms.nix @@ -105,7 +105,7 @@ rec { FUSE_FS m - # nixos mounts some cgroup + # systemd uses cgroups CGROUPS y # Latencytop @@ -307,6 +307,12 @@ rec { kernelAutoModules = false; kernelExtraConfig = '' + MIGRATION n + COMPACTION n + + # nixos mounts some cgroup + CGROUPS y + BLK_DEV_RAM y BLK_DEV_INITRD y BLK_DEV_CRYPTOLOOP m @@ -360,6 +366,9 @@ rec { EXT3_FS y REISERFS_FS y MAGIC_SYSRQ y + + # The kernel doesn't boot at all, with FTRACE + FTRACE n ''; kernelTarget = "vmlinux"; uboot = null;