The kernel needs SERIAL_8250_CONSOLE when using a real serial port as a console
This commit is contained in:
parent
1b615f460b
commit
e66bcbd58a
@ -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")
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -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")
|
||||
]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user