Commit Graph

2879 Commits

Author SHA1 Message Date
Eelco Dolstra
b70ba07ec1 * Add a test of IPv6 support.
svn path=/nixos/trunk/; revision=26036
2011-02-19 19:21:19 +00:00
Eelco Dolstra
b61c632006 * Add a module for radvd.
svn path=/nixos/trunk/; revision=26035
2011-02-19 19:19:55 +00:00
Eelco Dolstra
9f755eb3a4 * Enable IPv6 support by default. (Note that most NixOS systems
already had the ipv6 kernel module loaded, because dhclient needs
  it.)

svn path=/nixos/trunk/; revision=26034
2011-02-19 17:21:29 +00:00
Eelco Dolstra
5bdc1a9db7 * Fix the Subversion test.
svn path=/nixos/trunk/; revision=26017
2011-02-17 15:41:28 +00:00
Eelco Dolstra
8f5f70b292 * We don't really need a display manager on the installation CD. Just
log in as root automatically.

svn path=/nixos/trunk/; revision=26014
2011-02-17 14:38:02 +00:00
Eelco Dolstra
10119c9abc * Give the installation VM a different MAC/IP from the fake nixos.org
VM.  MAC collisions don't work at all with VDE.

svn path=/nixos/trunk/; revision=26009
2011-02-17 13:00:55 +00:00
Yury G. Kudryashov
559834437a ejabberd: tabs->spaces, remove trailing whitespace
svn path=/nixos/trunk/; revision=25996
2011-02-16 21:03:14 +00:00
Eelco Dolstra
63bd2744b7 * Partially revert r25991 because it depends on the x-updates branch.
svn path=/nixos/trunk/; revision=25995
2011-02-16 16:48:34 +00:00
Eelco Dolstra
5427b0f837 * Use kdm on the installation CD.
svn path=/nixos/trunk/; revision=25994
2011-02-16 15:33:54 +00:00
Eelco Dolstra
131f3c8e63 * Because cdrom_id now links against libpthread, LD_LIBRARY_PATH must
be set when udevd calls external programs.  (The udev manpage claims
  that udevd passes its own environment variables, but this is not the
  case.)
* Get rid of some udev rule hacks that no longer seem needed.

svn path=/nixos/trunk/; revision=25991
2011-02-16 14:38:52 +00:00
Eelco Dolstra
fce06b0a2e svn path=/nixos/trunk/; revision=25989 2011-02-16 12:29:05 +00:00
Eelco Dolstra
44ea6a7e4d * Typo.
svn path=/nixos/trunk/; revision=25987
2011-02-16 10:24:25 +00:00
Eelco Dolstra
32aa967ee1 * Only add a VDE NIC if there is a webserver.
svn path=/nixos/trunk/; revision=25986
2011-02-16 10:07:28 +00:00
Eelco Dolstra
49213aa80a * Doh! Exceptions outside of subtests were silently ignored.
svn path=/nixos/trunk/; revision=25981
2011-02-15 15:04:17 +00:00
Florian Friesdorf
433679537b intel wifi 6000 firmware
svn path=/nixos/trunk/; revision=25889
2011-02-10 17:36:56 +00:00
Eelco Dolstra
163769ace5 * Write hypervisor log messages to /var/log/xen/console.
svn path=/nixos/trunk/; revision=25882
2011-02-10 12:27:12 +00:00
Eelco Dolstra
7104acfa8b * Set the checkwinsize option in interactive shells. Otherwise
bash may miss resize events (I guess SIGWINCH is only sent to
  the foreground process).

svn path=/nixos/trunk/; revision=25815
2011-02-08 14:58:41 +00:00
Eelco Dolstra
28e4ac1af2 * Generically handle the case where $out/share/mime/packages or one of
its parents is a symlink.

svn path=/nixos/trunk/; revision=25776
2011-02-05 06:58:15 +00:00
Sander van der Burg
e995f317ae Fixed NFS mount to storage machine
svn path=/nixos/trunk/; revision=25773
2011-02-04 13:33:52 +00:00
Sander van der Burg
aa2e768fe4 Another strange error, which I fixed
svn path=/nixos/trunk/; revision=25730
2011-01-30 17:27:24 +00:00
Sander van der Burg
f30f71b7fa Fixed a syntax error
svn path=/nixos/trunk/; revision=25727
2011-01-30 16:13:47 +00:00
Ludovic Courtès
9d984837c9 GNU: Disable GRUB by default on ARM.
svn path=/nixos/trunk/; revision=25719
2011-01-29 23:07:06 +00:00
Ludovic Courtès
0513b31f73 Improve the documentation of `generationsDir'.
svn path=/nixos/trunk/; revision=25718
2011-01-29 23:07:02 +00:00
Ludovic Courtès
ebb8f55a10 Mingetty: Default to `ttyS0' for ARM devices.
svn path=/nixos/trunk/; revision=25717
2011-01-29 23:06:57 +00:00
Ludovic Courtès
7edc419f65 lshd: Streamline first use.
svn path=/nixos/trunk/; revision=25716
2011-01-29 23:06:52 +00:00
Eelco Dolstra
8361444f9b * Disable compositing for now in the graphical installation CD. It
seems to cause problems with KDE 4.5 on some graphics drivers (such
  as Cirrus and VGA in QEMU).  (NixOS/121)

svn path=/nixos/trunk/; revision=25659
2011-01-21 13:38:30 +00:00
Sander van der Burg
66ead80026 Disnix now also waits for the services it supports before it starts the Disnix daemon itself
svn path=/nixos/trunk/; revision=25626
2011-01-19 12:59:32 +00:00
Sander van der Burg
96b769c979 Removed the backdoor, because it does not work anymore and it has also become obsolete (Disnix uses something else now)
svn path=/nixos/trunk/; revision=25601
2011-01-17 16:15:59 +00:00
Sander van der Burg
c7a5960101 Removed backdoor argument
svn path=/nixos/trunk/; revision=25592
2011-01-16 21:59:17 +00:00
Sander van der Burg
51d66f647a Fixed nixos-build-vms to use the new test driver. Backdoor option does not work anymore though. I have to look for another solution
svn path=/nixos/trunk/; revision=25591
2011-01-16 21:57:09 +00:00
Eelco Dolstra
066f76e65f * Remove "nix-build tests -A foo.vms; ./result/bin/run-vms" as a way
to run the VMs of a test.  Instead, you can do

    $ nix-build tests -A foo.driver
    $ ./result/bin/nixos-run-vms

  This uses the test driver infrastructure, which is necessary in
  order to set up the VDE switches.

svn path=/nixos/trunk/; revision=25586
2011-01-16 14:21:47 +00:00
Ludovic Courtès
ef54cd3d1f system-tarball-sheevaplug: Add hint about the serial console parameters.
svn path=/nixos/trunk/; revision=25583
2011-01-15 22:42:07 +00:00
Ludovic Courtès
c56e039107 system-tarball-sheevaplug: Fix `kernelparams.txt'.
This is a followup to r23775 ("Substitute the path of the system
derivation directly in the stage 2 init script.").

svn path=/nixos/trunk/; revision=25582
2011-01-15 22:38:28 +00:00
Ludovic Courtès
a634fd84bf mingetty: Show the kernel name.
svn path=/nixos/trunk/; revision=25581
2011-01-15 21:52:10 +00:00
Ludovic Courtès
41fcad19fb manual: Recommend `-O dir_index'.
svn path=/nixos/trunk/; revision=25580
2011-01-15 21:51:56 +00:00
Eelco Dolstra
88a4fda7d8 * Don't daemonise vde_switch so that it's cleaned up automatically.
This is useful for interactive use.

svn path=/nixos/trunk/; revision=25570
2011-01-14 16:01:47 +00:00
Eelco Dolstra
2ac09578c0 * runInMachine: properly evaluate the machine configuration.
svn path=/nixos/trunk/; revision=25536
2011-01-13 11:39:03 +00:00
Eelco Dolstra
06a239a699 * runInMachine: use buildVM rather than buildVirtualNetwork since
there is only one machine.
* Add a simple test case for runInMachine.

svn path=/nixos/trunk/; revision=25535
2011-01-13 10:54:07 +00:00
Eelco Dolstra
b3dbcbe249 * Use vde_switch instead of QEMU's multicast feature to tie QEMU VMs
together into virtual networks.  This has several advantages:

  - It's more secure because the QEMU instances use Unix domain
    sockets to talk to the switch.

  - It doesn't depend on the host's network interfaces.  (Local
    multicast fails if there is no default gateway, so for instance it
    fails if a laptop is not connected to any network.)

  - VDE devices can be connected together to form arbitrary network
    topologies.

  - VDE has a "wirefilter" tool to emulate delays and packet loss,
    which are useful for network testing.

svn path=/nixos/trunk/; revision=25526
2011-01-12 18:47:23 +00:00
Eelco Dolstra
fd48855284 * No wonder the OpenSSH test was so unreliable: it didn't wait for the
sshd Upstart job to finish.

svn path=/nixos/trunk/; revision=25524
2011-01-12 17:36:15 +00:00
Eelco Dolstra
04b43f1e3f * Remove tabs because this causes the shell script to be misindented.
svn path=/nixos/trunk/; revision=25522
2011-01-12 15:40:46 +00:00
Eelco Dolstra
5560e422ad * Prerender the tree toggle.
svn path=/nixos/trunk/; revision=25494
2011-01-10 15:29:22 +00:00
Eelco Dolstra
0b33ba7e53 * Clean up the presentation of the log file a bit.
svn path=/nixos/trunk/; revision=25493
2011-01-10 15:17:38 +00:00
Eelco Dolstra
60b6eb7579 * Add a method Machine::sleep to sleep N seconds in virtual (guest)
time rather than host real time.

svn path=/nixos/trunk/; revision=25491
2011-01-10 14:41:16 +00:00
Eelco Dolstra
8db3bdc4fc * In VM tests, use acpi_pm as the clock source. This causes the guest
clock to slow down under high host load.  This is usually a bad
  thing, but for VM tests it should provide a bit more determinism
  (e.g. if the VM runs at lower speed, then timeouts in the VM should
  also be delayed).

svn path=/nixos/trunk/; revision=25490
2011-01-10 14:22:38 +00:00
Eelco Dolstra
ecaf1d9f08 * Using hpet no longer seems necessary. Maybe upstream fixed it.
svn path=/nixos/trunk/; revision=25489
2011-01-10 13:32:09 +00:00
Eelco Dolstra
7e3873f75e * Use the dedicated server.
svn path=/nixos/trunk/; revision=25488
2011-01-10 12:25:13 +00:00
Eelco Dolstra
e09faf4bb3 * Handle the case where /tmp/coverage-data already exists.
svn path=/nixos/trunk/; revision=25486
2011-01-10 12:22:24 +00:00
Eelco Dolstra
8f831338df * Log top-level errors.
svn path=/nixos/trunk/; revision=25482
2011-01-09 22:52:27 +00:00
Eelco Dolstra
261430df54 * Flush the coverage data by doing a shutdown.
svn path=/nixos/trunk/; revision=25481
2011-01-09 22:33:21 +00:00