3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
aszlig fb9f5e4a03
nixos/testing: Fix output of systemd messages
Regression introduced by d4468bedb5.

No systemd messages are shown anymore during VM test runs, which is not
very helpful if you want to find out about failures.

There is a bit of a conflict between testing and the change that
introduced the regression. While the mentioned commit makes sure that
the primary console is tty0 for virtualisation.graphics = false, our VM
tests need to have the serial console as primary console.

So in order to support both, I added a new virtualisation.qemu.consoles
option, which allows to specify those options using the module system.

The default of this option is to use the changes that were introduced
and in test-instrumentation.nix we use only the serial console the same
way as before.

For test-instrumentation.nix I didn't add a baudrate to the serial
console because I can't find a reason on top of my head why it should
need it. There also wasn't a reason stated when that was introduced in
7499e4a5b9.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @flokli, @dezgeg, @edolstra
2018-05-10 08:21:20 +02:00
..
doc gnucash: add upgrade instructions to NixOS release notes 2018-05-09 13:21:38 -04:00
lib nixos/lib/make-ext4-fs: Add a sanity check 2018-05-05 19:30:54 +03:00
maintainers treewide: rename version attributes 2018-04-28 14:23:53 +02:00
modules nixos/testing: Fix output of systemd messages 2018-05-10 08:21:20 +02:00
tests nixos/tests/statsd: fix non-deterministic failure 2018-05-09 12:38:09 +02:00
COPYING
default.nix nixos: export packages of the current configuration (its pkgs argument) 2018-02-09 19:35:27 +00:00
README
release-combined.nix Revert "release-combined: don't include tests.chromium" 2018-04-27 02:42:12 +02:00
release-small.nix Add the boot test to release-small.nix 2018-02-27 20:09:07 +01:00
release.nix Merge pull request #39526 (improve dhparams) 2018-05-08 02:09:46 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.