summary refs log tree commit diff
path: root/nixos/modules/installer
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2016-04-18 18:01:42 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-07-03 20:48:07 +0300
commitb6b7da20be30d0807c3f7f804ab2bf5d4c553f94 (patch)
tree5d8c356bc31ded51503fc1f7b6c16c58e13599b7 /nixos/modules/installer
parentec6759a098253be08d8a344465af7bcb066cc9a3 (diff)
downloadnixlib-b6b7da20be30d0807c3f7f804ab2bf5d4c553f94.tar
nixlib-b6b7da20be30d0807c3f7f804ab2bf5d4c553f94.tar.gz
nixlib-b6b7da20be30d0807c3f7f804ab2bf5d4c553f94.tar.bz2
nixlib-b6b7da20be30d0807c3f7f804ab2bf5d4c553f94.tar.lz
nixlib-b6b7da20be30d0807c3f7f804ab2bf5d4c553f94.tar.xz
nixlib-b6b7da20be30d0807c3f7f804ab2bf5d4c553f94.tar.zst
nixlib-b6b7da20be30d0807c3f7f804ab2bf5d4c553f94.zip
sd-image-*: Set verbose kernel loglevel
Much easier to debug boot issues this way...
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r--nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix1
-rw-r--r--nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix b/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix
index 036183fe2a0a..715deca02b58 100644
--- a/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix
+++ b/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix
@@ -24,6 +24,7 @@ in
 
   boot.kernelPackages = pkgs.linuxPackages_latest;
   boot.kernelParams = ["console=ttyS0,115200n8" "console=ttymxc0,115200n8" "console=ttyAMA0,115200n8" "console=ttyO0,115200n8" "console=tty0"];
+  boot.consoleLogLevel = 7;
 
   # FIXME: this probably should be in installation-device.nix
   users.extraUsers.root.initialHashedPassword = "";
diff --git a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix
index e7163f10a3c3..dc196468139a 100644
--- a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix
+++ b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix
@@ -26,6 +26,7 @@ in
   boot.loader.generic-extlinux-compatible.enable = true;
 
   boot.kernelPackages = pkgs.linuxPackages_rpi;
+  boot.consoleLogLevel = 7;
 
   # FIXME: this probably should be in installation-device.nix
   users.extraUsers.root.initialHashedPassword = "";