Commit Graph

379 Commits

Author SHA1 Message Date
Eelco Dolstra
cb10364838 * Use a diet udev in boot stage 1 to create the device nodes in /dev.
svn path=/nixos/trunk/; revision=7608
2007-01-10 12:42:28 +00:00
Eelco Dolstra
95ee289c9f * Some hacking info.
svn path=/nixos/trunk/; revision=7607
2007-01-10 12:29:10 +00:00
Eelco Dolstra
fd4c1a2c43 * The user should mount the target file system.
svn path=/nixos/trunk/; revision=7598
2007-01-09 23:12:41 +00:00
Eelco Dolstra
efefd93551 * Create /etc/nixos if it doesn't exist.
svn path=/nixos/trunk/; revision=7597
2007-01-09 21:28:08 +00:00
Eelco Dolstra
5b5b6f9f63 * Use a shell in the closure we just copied to the target.
svn path=/nixos/trunk/; revision=7596
2007-01-09 21:25:53 +00:00
Eelco Dolstra
37ab8be36f * Doh.
svn path=/nixos/trunk/; revision=7595
2007-01-09 21:19:53 +00:00
Eelco Dolstra
cbe4c2e0b8 * Installer: pull the manifest properly.
svn path=/nixos/trunk/; revision=7594
2007-01-09 21:19:06 +00:00
Eelco Dolstra
d4183887a8 * Add man to the initial path.
svn path=/nixos/trunk/; revision=7591
2007-01-09 17:27:26 +00:00
Eelco Dolstra
60e4da4a9b * Hacked up support for volume labels.
svn path=/nixos/trunk/; revision=7587
2007-01-09 16:29:27 +00:00
Eelco Dolstra
c9c5e920c9 * Info on updating NixOS.
svn path=/nixos/trunk/; revision=7586
2007-01-09 14:57:06 +00:00
Eelco Dolstra
1bcf53d58f * Script to check out NixOS.
svn path=/nixos/trunk/; revision=7585
2007-01-09 14:26:01 +00:00
Eelco Dolstra
fb2d9f8347 * Race condition: splash_util fails if the virtual console doesn't
exist yet (e.g., because mingetty hasn't started yet), so make sure
  it exists.

svn path=/nixos/trunk/; revision=7584
2007-01-09 13:56:54 +00:00
Eelco Dolstra
47761d0bd0 * Make some more SCSI device nodes. Quick hack to get NixOS running
on itchy.  We really should run udevd in boot stage 1.

svn path=/nixos/trunk/; revision=7583
2007-01-09 13:15:13 +00:00
Eelco Dolstra
835bb2b880 * Use the latest Nixpkgs.
svn path=/nixos/trunk/; revision=7582
2007-01-09 12:12:06 +00:00
Eelco Dolstra
2d20b19e5b * Don't get stuck in an infinite unmount loop on shutdown.
svn path=/nixos/trunk/; revision=7580
2007-01-09 09:52:16 +00:00
Eelco Dolstra
c4df455e81 * Allow the user to do something useful on tty8 while waiting for the
installation to finish.

svn path=/nixos/trunk/; revision=7578
2007-01-08 23:10:29 +00:00
Eelco Dolstra
2148123b9c * Merge splash-themes.nix into the regular options infrastructure.
svn path=/nixos/trunk/; revision=7576
2007-01-08 22:41:41 +00:00
Eelco Dolstra
56da3e7887 * Allow any login program to be specified.
svn path=/nixos/trunk/; revision=7575
2007-01-08 21:34:30 +00:00
Eelco Dolstra
873a8de2ad * Don't emit ctrl-alt-delete.
svn path=/nixos/trunk/; revision=7574
2007-01-08 21:25:06 +00:00
Eelco Dolstra
b7f11ad98b * Generate sshd_config to set XAuthLocation if X11 forwarding is
enabled.

svn path=/nixos/trunk/; revision=7548
2007-01-07 10:19:16 +00:00
Eelco Dolstra
1a592f3a4e * hda is called sda now.
svn path=/nixos/trunk/; revision=7535
2007-01-05 00:28:48 +00:00
Eelco Dolstra
966f6e0fb0 * More refactoring.
svn path=/nixos/trunk/; revision=7534
2007-01-04 10:31:36 +00:00
Eelco Dolstra
b6b5bafa22 * Refactoring.
svn path=/nixos/trunk/; revision=7533
2007-01-04 10:29:40 +00:00
Eelco Dolstra
acacfda1b2 * Remove references to stdenvNew.
svn path=/nixos/trunk/; revision=7532
2007-01-04 10:21:25 +00:00
Armijn Hemel
231b469188 use mkfs.ext2 for making filesystems, not e2fsck
svn path=/nixos/trunk/; revision=7480
2006-12-25 19:55:40 +00:00
Eelco Dolstra
936fa69912 * Doh.
svn path=/nixos/trunk/; revision=7479
2006-12-25 19:32:31 +00:00
Eelco Dolstra
162181ffba * LVM support (in stage 2; having / on LVM is not yet supported). LVM
triggers a new-devices event so that the filesystems job mounts file
  systems on the logical volumes.

svn path=/nixos/trunk/; revision=7478
2006-12-24 01:07:28 +00:00
Eelco Dolstra
cb4e81d38f * Handle devices that are symlinks.
svn path=/nixos/trunk/; revision=7477
2006-12-24 00:54:52 +00:00
Eelco Dolstra
bed8b44dc8 * We do need some devices in /dev when not auto-detecting the root
device.

svn path=/nixos/trunk/; revision=7476
2006-12-23 23:38:34 +00:00
Eelco Dolstra
e81f1b4334 * Add glibc, ntp to the path.
svn path=/nixos/trunk/; revision=7474
2006-12-23 22:43:39 +00:00
Eelco Dolstra
11e4d36db1 * Look for the CD-ROM in /sys/block, not /sys/devices. Don't look for
a "media" file since SCSI CD-ROM drives don't have it (and
  supposedly it's going away in IDE too).
* Create the device node automatically from the "dev" file in
  /sys/block/$bla.  

svn path=/nixos/trunk/; revision=7473
2006-12-23 01:16:39 +00:00
Eelco Dolstra
6afa8d776d * Create some SCSI devices. We should really just run udev in the
initrd...

svn path=/nixos/trunk/; revision=7472
2006-12-23 01:02:45 +00:00
Eelco Dolstra
46f1c1987c * Add sd_mod.
svn path=/nixos/trunk/; revision=7471
2006-12-23 00:59:14 +00:00
Eelco Dolstra
af49eda93f * Doh.
svn path=/nixos/trunk/; revision=7470
2006-12-23 00:27:39 +00:00
Eelco Dolstra
07db057cbc * Make sure that nogroup exists.
svn path=/nixos/trunk/; revision=7469
2006-12-23 00:26:35 +00:00
Eelco Dolstra
444d6b7583 * Add some SATA / SCSI related drivers to the initrd.
svn path=/nixos/trunk/; revision=7468
2006-12-23 00:13:22 +00:00
Eelco Dolstra
8d09b9066c * Purity: don't access /etc/modules.conf.
svn path=/nixos/trunk/; revision=7467
2006-12-22 23:51:18 +00:00
Eelco Dolstra
f25ce41c18 * Option boot.doHardwareScan to disable the hardware scan. Also, if
the flag "safemode" is specified on the kernel command line, also
  disable the hardware scan.
* Option boot.kernelModules to specify a set of modules to be loaded
  in stage 2 (in addition to the initrd modules in
  boot.initrd.kernelModules).

svn path=/nixos/trunk/; revision=7466
2006-12-22 23:34:42 +00:00
Eelco Dolstra
75e1652f05 * Chroot ntpd.
svn path=/nixos/trunk/; revision=7464
2006-12-22 19:29:18 +00:00
Eelco Dolstra
2d605d7041 * Don't run ntpd as root.
svn path=/nixos/trunk/; revision=7463
2006-12-22 19:23:19 +00:00
Eelco Dolstra
f037f6fbd4 * Emit ip-up / ip-down events when we get or lose a DHCP lease.
* ntpd: start on ip-up, not when the network interfaces are up,
  otherwise it will fail because it can't find any servers right
  away.

svn path=/nixos/trunk/; revision=7461
2006-12-22 17:28:25 +00:00
Eelco Dolstra
617ebcbcce * Job for ntpd. Doesn't seem to work quite right, but that might be a
VMware problem.

svn path=/nixos/trunk/; revision=7460
2006-12-21 23:43:17 +00:00
Eelco Dolstra
647db4dd2a * Don't try to mount when the mount point isn't there yet.
* Run fsck.

svn path=/nixos/trunk/; revision=7458
2006-12-21 20:08:15 +00:00
Eelco Dolstra
e3acce2f4f * Wait until the temporary udevd is gone.
svn path=/nixos/trunk/; revision=7457
2006-12-21 20:07:46 +00:00
Eelco Dolstra
d54b0a0749 * Don't refer to non-existent groups.
svn path=/nixos/trunk/; revision=7456
2006-12-21 19:22:06 +00:00
Eelco Dolstra
3b9a7c747e * Trigger swap on new-devices.
svn path=/nixos/trunk/; revision=7455
2006-12-21 19:21:36 +00:00
Eelco Dolstra
896a935de1 * Repeatedly unmount file systems until a fixpoint is reached (no more
file systems can be unmounted).
* Remount all un-unmountable file systems as read-only.
* Explicitly call losetup to get rid of loopback devices to work
  around a bug in mount.

svn path=/nixos/trunk/; revision=7454
2006-12-21 18:12:19 +00:00
Eelco Dolstra
bf8e19f6db * Mount file systems until a fixpoint is reached.
* Work properly for loopback mounts.

svn path=/nixos/trunk/; revision=7453
2006-12-21 18:10:33 +00:00
Eelco Dolstra
f89f3c0643 * Emit the new-devices event to cause the filesystems job to be
rerun.

svn path=/nixos/trunk/; revision=7452
2006-12-21 18:09:10 +00:00
Eelco Dolstra
78fcb0a356 * Skip the sys-* events, otherwise we reboot accidentally.
svn path=/nixos/trunk/; revision=7451
2006-12-21 18:08:29 +00:00