1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

The kernel needs SERIAL_8250_CONSOLE when using a real serial port as a console

This commit is contained in:
Shea Levy 2012-08-06 08:13:06 -04:00
parent 1b615f460b
commit e66bcbd58a
2 changed files with 9 additions and 0 deletions

View file

@ -94,6 +94,10 @@ in
system.upstartEnvironment.GCOV_PREFIX = "/tmp/xchg/coverage-data";
system.requiredKernelConfig = with config.lib.kernelConfig; [
(isYes "SERIAL_8250_CONSOLE")
(isYes "SERIAL_8250")
];
};
}

View file

@ -385,4 +385,9 @@ in
# Wireless won't work in the VM.
networking.wireless.enable = mkOverride 50 false;
system.requiredKernelConfig = optional (!cfg.graphics) (with config.lib.kernelConfig; [
(isYes "SERIAL_8250_CONSOLE")
(isYes "SERIAL_8250")
]);
}