From 9a6aa33422d0f286219d91168081e6fdb75a07ef Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sat, 16 Sep 2017 15:09:10 +0300 Subject: [PATCH] kernel: Disable DEBUG_INFO Since we don't have a split debug info output yet, don't waste time writing several gigabytes of debug info that's all going to be stripped out at the end. This change only affects Aarch64 (where some joker has enabled it in the architecture defconfig) and is a no-op on the others. --- pkgs/os-specific/linux/kernel/common-config.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index efad17f43b4c..4a97a466e0f0 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -38,6 +38,7 @@ with stdenv.lib; DEBUG_STACKOVERFLOW n SCHEDSTATS n DETECT_HUNG_TASK y + DEBUG_INFO n # Not until we implement a separate debug output ${optionalString (versionOlder version "4.4") '' CPU_NOTIFIER_ERROR_INJECT? n