Commit graph

68 commits

Author SHA1 Message Date
Eelco Dolstra 97ae408e83 Merge remote-tracking branch 'origin/master' into systemd 2012-12-11 17:40:39 +01:00
Eelco Dolstra 13617b803b Use the binary cache in the installer
Also remove "nixos-rebuild pull".
2012-12-08 19:00:06 +01:00
Eelco Dolstra 2b4715d3ef Installer test: fix nix-push call
http://hydra.nixos.org/build/3331147
2012-12-08 18:33:00 +01:00
Eelco Dolstra fe7b3b7f9b Installer test: fix nix-push call
http://hydra.nixos.org/build/3331147
2012-11-16 16:34:22 +01:00
Eelco Dolstra 074af5906e Use new-style fileSystems 2012-11-15 22:55:00 +01:00
Eelco Dolstra 08e6c0cb7c Update channel URLs 2012-11-12 09:19:25 +01:00
Eelco Dolstra d5aae18587 installer test: Don't wait for getty@tty2 because it's started lazily 2012-11-12 09:19:25 +01:00
Eelco Dolstra 7a76bcd72a Fix the installer test
http://hydra.nixos.org/build/3253038
2012-10-30 15:00:51 +01:00
Eelco Dolstra ecd7bc9310 Tests: global search/replace of obsolete functions 2012-10-24 18:22:53 +02:00
Eelco Dolstra 719aeb36ca Tests: Depend on ‘network.target’ 2012-10-24 12:58:58 +02:00
Eelco Dolstra c8d04ab34c tests/installer.nix: Re-enable booting from LVM 2012-08-01 15:40:58 -04:00
Eelco Dolstra 87ae768665 Fix the LVM installer test
GRUB 2 doesn't want to boot off a LVM disk:

machine# installing the GRUB 2 boot loader on /dev/vda...
machine# Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
machine# /nix/store/7yc535h1lim1a5gkhjb3fr6c8193dv8w-install-grub.pl: installation of GRUB on /dev/vda failed

In theory GRUB 2 supports booting from LVM, but we probably need to
generate the right grub.conf (see
https://wiki.archlinux.org/index.php/GRUB2#LVM).

http://hydra.nixos.org/build/2904680
2012-07-26 16:02:33 -04:00
Eelco Dolstra 1a2b3cc5e4 Fix the tests.installer.grub1 test
GRUB 1 doesn't understand /dev/vda, so use a SCSI rather than virtio disk.
2012-07-26 16:02:33 -04:00
Eelco Dolstra 92515b288c Fix the installer tests
http://hydra.nixos.org/build/2904451
2012-07-26 09:42:05 -04:00
Eelco Dolstra 29ef89ac03 Fix the tests
http://hydra.nixos.org/build/2903932
2012-07-25 18:38:20 -04:00
Eelco Dolstra 6ba2899c18 * Run nixos-install twice to test idempotency.
svn path=/nixos/trunk/; revision=34234
2012-05-24 23:39:03 +00:00
Eelco Dolstra 6c1bb54483 * In the installation CD, make the NixOS/Nixpkgs available as if they
were obtained from the NixOS channel.  "nixos-install" copies this
  to the installed system as well.
* In the installation CD, set GC_INITIAL_HEAP_SIZE to a low value for
  the benefit of memory-constrained environments.

svn path=/nixos/trunk/; revision=33887
2012-04-23 00:41:37 +00:00
Eelco Dolstra d8a6cddbd0 * Fix the installer test (http://hydra.nixos.org/build/2430122).
svn path=/nixos/trunk/; revision=33852
2012-04-20 09:44:27 +00:00
Eelco Dolstra 6ef5e0e5b3 * Fix the GRUB 1 installer test. Note that GRUB 1 doesn't
automatically detect /dev/vd* devices, so users have to fix
  /boot/grub/device.map manually.

svn path=/nixos/trunk/; revision=33832
2012-04-18 16:08:25 +00:00
Eelco Dolstra 9261d520ff * Fix the installer test.
svn path=/nixos/trunk/; revision=33828
2012-04-18 14:14:58 +00:00
Eelco Dolstra 375511eb33 * Add a installer test that uses GRUB 1 (it currently fails).
svn path=/nixos/trunk/; revision=33745
2012-04-11 09:42:53 +00:00
Eelco Dolstra f9ac67c67f * Copying manifests is slightly tricky because
download-using-manifests expects that the files in
  /nix/var/nix/manifests are symlinks into the store.

svn path=/nixos/trunk/; revision=33727
2012-04-10 15:36:50 +00:00
Eelco Dolstra 1201116832 * Temporarily add "-cpu kvm64" to work around the GMP abort() bug that
has been fixed in the stdenv branch.

  http://hydra.nixos.org/build/2380676

svn path=/nixos/trunk/; revision=33718
2012-04-10 12:50:20 +00:00
Eelco Dolstra b46e911012 * Fix some references to dhclient.
svn path=/nixos/trunk/; revision=33359
2012-03-22 13:02:42 +00:00
Eelco Dolstra a22bdbaeda * I hate asynchronous commands.
svn path=/nixos/trunk/; revision=33310
2012-03-20 21:45:24 +00:00
Eelco Dolstra 9d72a2a606 * Wait for RAID resync to complete before rebooting. Booting off an
unsynced volume tends to fail.  (http://hydra.nixos.org/build/2310338)

svn path=/nixos/trunk/; revision=33307
2012-03-20 21:38:38 +00:00
Eelco Dolstra 4b153f989b * And another one.
svn path=/nixos/trunk/; revision=32786
2012-03-04 21:08:21 +00:00
Eelco Dolstra 0ecda32942 * Fix the installer.simple test.
svn path=/nixos/trunk/; revision=29780
2011-10-12 12:21:54 +00:00
Peter Simons eb6e1310b8 strip trailing whitespace; no functional change
svn path=/nixos/trunk/; revision=29285
2011-09-14 18:20:50 +00:00
Eelco Dolstra c430bf5cc3 * Add virtio_console to the CD because the backdoor requires it.
* The booted CD no longer requires "-net user".

svn path=/nixos/trunk/; revision=26427
2011-03-19 08:58:56 +00:00
Eelco Dolstra 0c6129bb90 * Hopefully fix the rebuildCD job.
svn path=/nixos/trunk/; revision=26155
2011-03-04 10:28: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
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 7378e17f74 * Test driver: write structured log info to $out/log.xml (not finished
yet).
* Machine->new -> createMachine (because VMs must be tracked in the
  %vms hash).

svn path=/nixos/trunk/; revision=25427
2011-01-05 15:27:21 +00:00
Eelco Dolstra 747e284e75 * Fix an evaluation error in tests.installer.rebuildCD.
svn path=/nixos/trunk/; revision=25193
2010-12-18 18:07:25 +00:00
Eelco Dolstra 47157986f2 * Unbreak the NixOS installer tests.
svn path=/nixos/trunk/; revision=25096
2010-12-13 08:53:43 +00:00
Eelco Dolstra 52a8a529b3 * Fix indentation.
svn path=/nixos/trunk/; revision=24254
2010-10-12 22:03:50 +00:00
Nicolas Pierron 6cc0032074 Installation CD: Check that the current system can be replaced.
svn path=/nixos/trunk/; revision=23920
2010-09-25 09:33:21 +00:00
Nicolas Pierron 1a232545a0 Test that CD configuration can be rebuild.
svn path=/nixos/trunk/; revision=23908
2010-09-25 09:32:22 +00:00
Nicolas Pierron de1ba135ac Fix installer tests.
svn path=/nixos/trunk/; revision=23907
2010-09-25 09:18:42 +00:00
Nicolas Pierron c9dc3651da Replace mkOverride by its alias mkOverrideTemplate to remove the unused
template argument of mkOverride later.

svn path=/nixos/trunk/; revision=23631
2010-09-03 19:10:59 +00:00
Eelco Dolstra 392275f185 * Move support for writable Nix stores to qemu-vm.nix.
svn path=/nixos/trunk/; revision=23393
2010-08-24 12:59:16 +00:00
Eelco Dolstra 3a0f295337 * The swraid installer test needs more disk space
(http://hydra.nixos.org/build/494390).

svn path=/nixos/trunk/; revision=22692
2010-07-21 21:20:42 +00:00
Eelco Dolstra 2a6819e03d * swraid test: Fix the alignment of the first logical partition. GNU
parted 2.3 barfs on this (http://hydra.nixos.org/build/484788),
  while 2.2 accepts it.

svn path=/nixos/trunk/; revision=22576
2010-07-13 11:57:12 +00:00
Eelco Dolstra ddf6dae895 * Urgh, we do need to wait after each parted call
(http://hydra.nixos.org/build/483571).

svn path=/nixos/trunk/; revision=22558
2010-07-12 12:35:25 +00:00
Eelco Dolstra eab091cc11 * Remove some redundant calls to `udevadm settle'.
svn path=/nixos/branches/boot-order/; revision=22345
2010-06-20 16:15:30 +00:00
Eelco Dolstra 1371f4e6c8 * Apparantly GRUB 2 cannot boot from a software RAID partition, so use
a separate /boot.

svn path=/nixos/branches/boot-order/; revision=22344
2010-06-20 16:05:15 +00:00
Eelco Dolstra a65b5ec81c * Added an option boot.loader.grub.extraConfig to add commands to
grub.cfg before the menu entries.  (This could also be done using
  `extraEntriesBeforeNixOS', but then you can't have entries *after*
  the main entry anymore.)
* In the installer test, redirect GRUB output to the serial port.

svn path=/nixos/branches/boot-order/; revision=22300
2010-06-16 22:18:26 +00:00
Eelco Dolstra 046af078bb * We don't need Linux 2.6.27 anymore in the tests to get a writable
Nix store.  AUFS2 on 2.6.32 seems to work.

svn path=/nixos/trunk/; revision=22034
2010-05-28 07:10:17 +00:00
Eelco Dolstra 77a4004df1 * The installer test lost the QEMU flags to set up the NIC to talk to
the web server somewhere, so put them back in
  (http://hydra.nixos.org/build/424923).

svn path=/nixos/trunk/; revision=22003
2010-05-27 12:20:37 +00:00