Commit graph

573 commits

Author SHA1 Message Date
Eelco Dolstra
06a6116c44 * Allow manual network configuration, i.e., specificying the IP
address, gateway, and nameservers in the system configuration.

svn path=/nixos/trunk/; revision=7898
2007-02-12 16:00:55 +00:00
Eelco Dolstra
d4c172469d * Add $profile/sbin to the PATH.
svn path=/nixos/trunk/; revision=7896
2007-02-12 15:29:43 +00:00
Eelco Dolstra
ac93023f35 * Pass userCreationDomain.
svn path=/nixos/trunk/; revision=7891
2007-02-12 11:57:18 +00:00
Eelco Dolstra
582abdaae2 * Option boot.copyKernels to copy all kernels and initrd to
/boot/kernels.  This is necessary if /nix is on a different file
  system than /.  (And it will allow us to support a separate /boot
  partition too.)

svn path=/nixos/trunk/; revision=7887
2007-02-09 16:19:29 +00:00
Eelco Dolstra
2c62eac3a1 * Check if Subversion is already installed.
svn path=/nixos/trunk/; revision=7886
2007-02-08 19:53:21 +00:00
Eelco Dolstra
7ac8157fed * Doh!
svn path=/nixos/trunk/; revision=7885
2007-02-08 19:51:36 +00:00
Eelco Dolstra
7fac47a98b svn path=/nixos/trunk/; revision=7884 2007-02-08 18:23:57 +00:00
Eelco Dolstra
56576e7c28 * Prevent repeated mounting.
svn path=/nixos/trunk/; revision=7882
2007-02-08 15:24:13 +00:00
Eelco Dolstra
2f6810d4af svn path=/nixos/trunk/; revision=7878 2007-02-07 16:10:37 +00:00
Eelco Dolstra
6c529fac77 * Very naughty of me not to use -boot-info-table. Now I know better.
svn path=/nixos/trunk/; revision=7875
2007-02-07 15:23:19 +00:00
Eelco Dolstra
5d02654a3c * Splashutils now works on x86_64.
svn path=/nixos/trunk/; revision=7873
2007-02-06 22:49:20 +00:00
Eelco Dolstra
06853a6083 svn path=/nixos/trunk/; revision=7872 2007-02-06 22:23:56 +00:00
Eelco Dolstra
56f813a0fe * Readme is obsolete now.
svn path=/nixos/trunk/; revision=7870
2007-02-06 21:38:59 +00:00
Eelco Dolstra
5aed111620 * More manual.
svn path=/nixos/trunk/; revision=7869
2007-02-06 21:25:36 +00:00
Eelco Dolstra
9759134665 * Manual.
svn path=/nixos/trunk/; revision=7868
2007-02-06 21:14:02 +00:00
Eelco Dolstra
98a3eaf6b7 svn path=/nixos/trunk/; revision=7865 2007-02-06 18:31:32 +00:00
Eelco Dolstra
f2e85499f3 * Doh.
svn path=/nixos/trunk/; revision=7864
2007-02-06 18:29:20 +00:00
Eelco Dolstra
8cf1eceb0a * Allow multiple file systems to be mounted in stage 1 (i.e., from the
initrd).  This is useful if /nix (which is necessary for stage 2) is
  on a different file system than /.

svn path=/nixos/trunk/; revision=7862
2007-02-06 16:53:36 +00:00
Eelco Dolstra
923348b490 * Provide a script "nixos-checkout" to replace the NixOS/Nixpkgs
sources in /etc/nixos with a Subversion checkout of those trees.
  This should be run after a successful installation if you want to
  keep NixOS up to date from Subversion.

svn path=/nixos/trunk/; revision=7859
2007-02-06 14:13:12 +00:00
Eelco Dolstra
97aa1faa33 * Create /etc/nixos/install-source.nix.
svn path=/nixos/trunk/; revision=7858
2007-02-06 14:06:42 +00:00
Eelco Dolstra
1551c50a20 svn path=/nixos/trunk/; revision=7857 2007-02-06 13:21:15 +00:00
Eelco Dolstra
b044899891 * A helpful warning.
svn path=/nixos/trunk/; revision=7856
2007-02-06 13:20:53 +00:00
Eelco Dolstra
42bcb9a2a7 * Recreate the /bin/sh symlink.
svn path=/nixos/trunk/; revision=7855
2007-02-06 13:15:52 +00:00
Eelco Dolstra
5d0f7bdadd * Better checking.
svn path=/nixos/trunk/; revision=7854
2007-02-06 13:12:10 +00:00
Eelco Dolstra
08ad51690d * Merge the test and upgrade scripts into a program "nixos-rebuild"
which is included in the system path.

svn path=/nixos/trunk/; revision=7853
2007-02-06 13:09:25 +00:00
Eelco Dolstra
25684805d5 * nixos-installer -> nixos-install.
svn path=/nixos/trunk/; revision=7852
2007-02-06 10:46:36 +00:00
Eelco Dolstra
3481970525 * Consistent naming.
svn path=/nixos/trunk/; revision=7851
2007-02-06 10:41:04 +00:00
Eelco Dolstra
6c4701f7cc * Quick hack to get scp to work again.
svn path=/nixos/trunk/; revision=7850
2007-02-06 10:17:13 +00:00
Eelco Dolstra
ea9a82042c * Set ownership.
svn path=/nixos/trunk/; revision=7849
2007-02-05 21:18:02 +00:00
Eelco Dolstra
b674f74c2d * Installer fixes.
svn path=/nixos/trunk/; revision=7848
2007-02-05 21:06:59 +00:00
Eelco Dolstra
ea41e46e6d * Unpack the NixOS/Nixpkgs sources automatically when booting from the
installation CD.

svn path=/nixos/trunk/; revision=7847
2007-02-05 16:52:13 +00:00
Eelco Dolstra
6291281358 * Copy the NixOS/Nixpkgs sources to /etc/nixos on the target.
svn path=/nixos/trunk/; revision=7846
2007-02-05 16:23:19 +00:00
Eelco Dolstra
4f64075215 * Installer: defaults for all arguments. The NixOS sources are
assumed to be in /etc/nixos/nixos and the system configuration in
  /etc/nixos/configuration.nix.  This is overridable through a few
  environment variables.
* Installer: check that the mount point does in fact have a file
  system mounted on it (so that we don't install in an empty /mnt),
  and don't unmount afterwards for symmetry.

svn path=/nixos/trunk/; revision=7845
2007-02-05 15:52:55 +00:00
Eelco Dolstra
82067ff5bd * Better instructions.
svn path=/nixos/trunk/; revision=7844
2007-02-05 15:20:39 +00:00
Eelco Dolstra
4b7e9b5401 * Instructions on testing the installer without having to make an ISO
/ burn a CD, namely by making a loopback target file system.
* Installer: continue if the MANIFEST on the CD is missing (useful if
  we're not actually installing from a CD).

svn path=/nixos/trunk/; revision=7843
2007-02-05 15:12:47 +00:00
Eelco Dolstra
6fcd79d2ce * Merge the common-* files.
svn path=/nixos/trunk/; revision=7818
2007-01-30 15:03:43 +00:00
Eelco Dolstra
2c41edd1bc * Turn on pam_env for everything.
svn path=/nixos/trunk/; revision=7817
2007-01-30 14:58:04 +00:00
Eelco Dolstra
b0b776c04a * Add support for USB keyboards in stage 1.
svn path=/nixos/trunk/; revision=7811
2007-01-30 12:49:18 +00:00
Eelco Dolstra
b01ef92437 * Use pam_env to set the PATH for SSH logins. This allows
non-interactive ssh sessions (such as "ssh host command") to work
  properly.  This should probably be used for other kinds of logins as
  well.

svn path=/nixos/trunk/; revision=7799
2007-01-26 15:32:49 +00:00
Eelco Dolstra
a1f512ede3 * Another example: NixOS on x86_64 on a USB stick.
svn path=/nixos/trunk/; revision=7787
2007-01-24 11:50:38 +00:00
Eelco Dolstra
0685f24957 svn path=/nixos/trunk/; revision=7786 2007-01-23 20:09:06 +00:00
Eelco Dolstra
241b28d101 * Register everything in the Nix store on the installation CD as a
substitute to speed up installation.

svn path=/nixos/trunk/; revision=7783
2007-01-23 17:17:10 +00:00
Eelco Dolstra
c56d3a8ce4 * Actually put the manifest on the CD.
svn path=/nixos/trunk/; revision=7780
2007-01-23 16:48:27 +00:00
Eelco Dolstra
995b749f70 * Put a nix-pull manifest of the Nix store on the CD.
svn path=/nixos/trunk/; revision=7777
2007-01-23 15:08:00 +00:00
Eelco Dolstra
d883483a0e * Use paths-from-graph.pl.
svn path=/nixos/trunk/; revision=7776
2007-01-23 15:07:30 +00:00
Eelco Dolstra
2554337f82 * Put the closure of stdenv on the CD to speed up the installation.
svn path=/nixos/trunk/; revision=7775
2007-01-23 14:38:15 +00:00
Eelco Dolstra
d197a0f2cc * Use the Perl version of paths-from-graphs everywhere.
svn path=/nixos/trunk/; revision=7774
2007-01-23 14:37:42 +00:00
Eelco Dolstra
903a64c87d * Some things are best done in Perl.
svn path=/nixos/trunk/; revision=7773
2007-01-23 14:34:44 +00:00
Eelco Dolstra
668c146e33 * Doh! Make sure that we put *only* splash_helper in the initrd and
not all of splashutils, otherwise we get Glibc in the initrd.

svn path=/nixos/trunk/; revision=7771
2007-01-23 13:44:41 +00:00
Eelco Dolstra
a7d81141be * Prettyprint the option defaults and examples.
svn path=/nixos/trunk/; revision=7768
2007-01-23 11:39:02 +00:00