Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							ae4e94d9ac 
							
						 
					 
					
						
						
							
							Rename ‘boot.systemd’ to ‘systemd’  
						
						 
						
						... 
						
						
						
						Suggested by Mathijs Kwik.  ‘boot.systemd’ is a misnomer because
systemd affects more than just booting.  And it saves some typing. 
						
						
					 
					
						2013-01-16 12:33:18 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							c7b427fbca 
							
						 
					 
					
						
						
							
							Give our kernel parameters a common prefix ("boot.*")  
						
						 
						
						
						
						
					 
					
						2013-01-09 22:53:44 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							1350816199 
							
						 
					 
					
						
						
							
							test-instrumentation.nix: Don't start agetty on hvc0  
						
						 
						
						
						
						
					 
					
						2012-11-12 09:19:25 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							1da362b34b 
							
						 
					 
					
						
						
							
							Fix coverage data collection  
						
						 
						
						... 
						
						
						
						http://hydra.nixos.org/build/3253046  
						
						
					 
					
						2012-10-30 17:27:14 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							bcdc71ddae 
							
						 
					 
					
						
						
							
							Kill the backdoor more forcefully  
						
						 
						
						... 
						
						
						
						Otherwise it hangs until the 90 second timeout expires.
http://hydra.nixos.org/build/3253068  
						
						
					 
					
						2012-10-30 16:42:05 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							1a82024dd8 
							
						 
					 
					
						
						
							
							In the tests, don't start agetty on /dev/ttyS0  
						
						 
						
						... 
						
						
						
						Running agetty on ttyS0 interferes with the backdoor, which uses ttyS0
as its standard error.  After agetty starts, writes to the stderr file
descriptor will return EIO (though doing "exec 2>/proc/self/fd/2" will
miracuously fix this).
http://hydra.nixos.org/build/3252782  
						
						
					 
					
						2012-10-29 21:10:00 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							b02c488fde 
							
						 
					 
					
						
						
							
							Automatically append ".service" to the name of service units  
						
						 
						
						
						
						
					 
					
						2012-08-23 10:25:27 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							08f14b33c1 
							
						 
					 
					
						
						
							
							Merge branch 'master' of github.com:NixOS/nixos into systemd  
						
						 
						
						
						
						
					 
					
						2012-08-20 11:27:38 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Shea Levy 
							
						 
					 
					
						
						
						
						
							
						
						
							d28876ea70 
							
						 
					 
					
						
						
							
							qemu tests use the virtio console to run commands  
						
						 
						
						
						
						
					 
					
						2012-08-07 17:04:00 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Shea Levy 
							
						 
					 
					
						
						
						
						
							
						
						
							e66bcbd58a 
							
						 
					 
					
						
						
							
							The kernel needs SERIAL_8250_CONSOLE when using a real serial port as a console  
						
						 
						
						
						
						
					 
					
						2012-08-06 08:13:06 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Shea Levy 
							
						 
					 
					
						
						
						
						
							
						
						
							1b615f460b 
							
						 
					 
					
						
						
							
							Allow overriding all NixOS tests to run with the minimal kernel possible for that test's config(s) (based on requiredKernelConfig)  
						
						 
						
						
						
						
					 
					
						2012-08-04 09:45:26 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Shea Levy 
							
						 
					 
					
						
						
						
						
							
						
						
							3d20a308af 
							
						 
					 
					
						
						
							
							tests/minimal-kernel: Add CIFS timeout patch  
						
						 
						
						
						
						
					 
					
						2012-08-01 23:36:48 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							6419172bc2 
							
						 
					 
					
						
						
							
							journald: enable logging to the console  
						
						 
						
						
						
						
					 
					
						2012-07-19 17:32:50 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							bd0f065c05 
							
						 
					 
					
						
						
							
							Merge branch 'master' of github.com:NixOS/nixos into systemd  
						
						 
						
						
						
						
					 
					
						2012-06-22 18:20:26 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							6bd32f0a27 
							
						 
					 
					
						
						
							
							Drop the socat wrapper  
						
						 
						
						
						
						
					 
					
						2012-06-22 15:37:22 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							337423af8e 
							
						 
					 
					
						
						
							
							Backdoor: depend on /dev/hvc0  
						
						 
						
						... 
						
						
						
						Systemd is the shit: units can declare a dependency on the appearance
of device nodes.  Yay! 
						
						
					 
					
						2012-06-19 17:36:02 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							ebc6d7f435 
							
						 
					 
					
						
						
							
							* Attempt to fix the random "udevadm settle - timeout of 120 seconds  
						
						 
						
						... 
						
						
						
						reached, the event queue contains: /sys/devices/virtual/tty/hvc1" VM
  failures.
svn path=/nixos/trunk/; revision=33259 
						
						
					 
					
						2012-03-19 15:10:39 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							53847ef665 
							
						 
					 
					
						
						
							
							* Don't use the non-existent "never" condition in stopOn.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=33212 
						
						
					 
					
						2012-03-17 18:00:20 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							d75efe4aa1 
							
						 
					 
					
						
						
							
							* For security, don't mount the entire host filesystem.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=28429 
						
						
					 
					
						2011-08-09 14:07:44 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							8b30a8f23f 
							
						 
					 
					
						
						
							
							* In the VM tests, add "-m 0" to syslogd to kill the "-- MARK --"  
						
						 
						
						... 
						
						
						
						messages.  These prevent hanging tests from being killed after 1
  hour of silence.
svn path=/nixos/trunk/; revision=28393 
						
						
					 
					
						2011-08-08 14:40:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							97a37f7c12 
							
						 
					 
					
						
						
							
							* "stage1panic" -> "stage1panic=1" to get rid of a harmless warning.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=26756 
						
						
					 
					
						2011-04-08 14:42:35 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nicolas Pierron 
							
						 
					 
					
						
						
						
						
							
						
						
							96fc9379ba 
							
						 
					 
					
						
						
							
							Convert assertion option into mkAssert.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=26614 
						
						
					 
					
						2011-03-30 17:52:34 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							ef07a945c4 
							
						 
					 
					
						
						
							
							* Don't echo characters on /dev/hvc0, otherwise the stdout of commands  
						
						 
						
						... 
						
						
						
						gets screwed up.
svn path=/nixos/trunk/; revision=26422 
						
						
					 
					
						2011-03-18 13:16:40 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							be0fca5781 
							
						 
					 
					
						
						
							
							* Use QEMU/KVM's paravirtualised console device for the backdoor.  
						
						 
						
						... 
						
						
						
						This has the advantage that it doesn't depend on networking being
  up.
* Move common QEMU/KVM guest configuration to profiles/qemu-guest.nix.
svn path=/nixos/trunk/; revision=26421 
						
						
					 
					
						2011-03-18 12:38:22 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							ee4e004cc4 
							
						 
					 
					
						
						
							
							* Add a test for the firewall.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=26276 
						
						
					 
					
						2011-03-11 13:38:52 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							6160100a9a 
							
						 
					 
					
						
						
							
							* Don't run klogd in tests to prevent duplicate kernel messages in the  
						
						 
						
						... 
						
						
						
						log output.  (It wasn't running anyway because the preStart command
  was broken.)  Note that "dmesg -c" doesn't have an effect on klogd,
  and "klogd -o" is broken.
svn path=/nixos/trunk/; revision=26273 
						
						
					 
					
						2011-03-11 12:56:04 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							d0108cd951 
							
						 
					 
					
						
						
							
							* Set GCOV_PREFIX for all Upstart jobs.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=25479 
						
						
					 
					
						2011-01-09 22:01:18 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							4046056cdc 
							
						 
					 
					
						
						
							
							* In the activation script, don't require the path to the "system"  
						
						 
						
						... 
						
						
						
						derivation on the command line.
svn path=/nixos/trunk/; revision=23770 
						
						
					 
					
						2010-09-13 18:19:15 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							d48e2fdb4d 
							
						 
					 
					
						
						
							
							* Don't print kernel log messages twice.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=23769 
						
						
					 
					
						2010-09-13 17:36:01 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							1a5c18d1b6 
							
						 
					 
					
						
						
							
							svn path=/nixos/trunk/; revision=22647  
						
						 
						
						
						
						
					 
					
						2010-07-18 22:29:40 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							158c3daec1 
							
						 
					 
					
						
						
							
							* Don't do the "poweroff -f" fallback because that prevents  
						
						 
						
						... 
						
						
						
						interactive testing ("nix-build tests/ -A nfs.vms;
  ./result/bin/run-vms").
svn path=/nixos/trunk/; revision=22565 
						
						
					 
					
						2010-07-12 16:09:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							ae539b7790 
							
						 
					 
					
						
						
							
							* Oops.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=22561 
						
						
					 
					
						2010-07-12 13:42:59 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							aa3230979b 
							
						 
					 
					
						
						
							
							* Set the priorities right.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=22560 
						
						
					 
					
						2010-07-12 13:41:22 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							061ea1674f 
							
						 
					 
					
						
						
							
							* Increase the CIFS timeout here as well.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/branches/boot-order/; revision=22348 
						
						
					 
					
						2010-06-20 20:52:42 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							593a110c47 
							
						 
					 
					
						
						
							
							* Make sure that kernel log messages appear in the VM output.  The  
						
						 
						
						... 
						
						
						
						comment was incorrect - when klogd is running, kernel messages no
  longer appear on the serial port.
svn path=/nixos/branches/boot-order/; revision=22346 
						
						
					 
					
						2010-06-20 19:22:23 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							20a88efffa 
							
						 
					 
					
						
						
							
							* Fix networking in the installer test.  
						
						 
						
						... 
						
						
						
						* If connecting to the host fails in the guest, then shutdown
  immediately.
svn path=/nixos/branches/boot-order/; revision=22341 
						
						
					 
					
						2010-06-20 15:33:44 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							363806e89b 
							
						 
					 
					
						
						
							
							* To establish the connection to the root shell in the guest, let the  
						
						 
						
						... 
						
						
						
						guest connect to a Unix domain socket on the host rather than the
  other way around.  The former is a QEMU feature (guestfwd to a
  socket) while the latter requires a patch (which we can now get rid
  of).
svn path=/nixos/branches/boot-order/; revision=22331 
						
						
					 
					
						2010-06-18 19:31:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							200a8b9a56 
							
						 
					 
					
						
						
							
							* Change the priority to make the NAT and Bittorrent tests work.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/branches/boot-order/; revision=22329 
						
						
					 
					
						2010-06-18 18:53:13 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							ac22e5369f 
							
						 
					 
					
						
						
							
							* Prevent tests from accessing the host's network accidentally.  For  
						
						 
						
						... 
						
						
						
						instance, `nixos-rebuild' in the installer test does a `nix-pull'
  from nixos.org.
svn path=/nixos/branches/boot-order/; revision=22325 
						
						
					 
					
						2010-06-18 13:21:01 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							43d6b17d87 
							
						 
					 
					
						
						
							
							* In the NixOS tests, send syslog messages to the serial port (so that  
						
						 
						
						... 
						
						
						
						they appear in the build log of the test).
svn path=/nixos/trunk/; revision=20490 
						
						
					 
					
						2010-03-09 13:31:20 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							ec3398e4b2 
							
						 
					 
					
						
						
							
							* Move the serial console kernel parameters to test-instrumentation.nix.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=19275 
						
						
					 
					
						2010-01-06 21:16:57 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							bb236f99de 
							
						 
					 
					
						
						
							
							* Urgh, socat ignores SIGCHLD, which causes Nix builds to fail.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=19270 
						
						
					 
					
						2010-01-06 18:03:31 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							bc68c2985c 
							
						 
					 
					
						
						
							
							* Added a function waitForX, which returns when the X server accepts  
						
						 
						
						... 
						
						
						
						connections.
* In the root shell, source /etc/bashrc and set $HOME and $DISPLAY.  
svn path=/nixos/trunk/; revision=19247 
						
						
					 
					
						2010-01-05 23:59:29 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							5cc99487cb 
							
						 
					 
					
						
						
							
							* A function to wait until a window exists.  
						
						 
						
						... 
						
						
						
						svn path=/nixos/trunk/; revision=19246 
						
						
					 
					
						2010-01-05 23:38:13 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							7541141a7a 
							
						 
					 
					
						
						
							
							* Send stderr to /dev/ttyS0 (so that it doesn't pollute the socket  
						
						 
						
						... 
						
						
						
						connection).
svn path=/nixos/trunk/; revision=19226 
						
						
					 
					
						2010-01-05 11:42:08 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eelco Dolstra 
							
						 
					 
					
						
						
						
						
							
						
						
							170331be30 
							
						 
					 
					
						
						
							
							* Don't use /hostfs to signal the test driver that a VM is up, but  
						
						 
						
						... 
						
						
						
						write some magic string to ttyS0.  This removes the dependency on
  having a CIFS mount.
* Use a thread to process the stdout/stderr of each QEMU instance.
* Add a kernel command line parameter "stage1panic" to tell stage 1 to
  panic if an error occurs.  This is faster than waiting until
  connect() times out.
svn path=/nixos/trunk/; revision=19212 
						
						
					 
					
						2010-01-04 18:04:57 +00:00