Commit graph

122 commits

Author SHA1 Message Date
Eelco Dolstra
b674f74c2d * Installer fixes.
svn path=/nixos/trunk/; revision=7848
2007-02-05 21:06:59 +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
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
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
d883483a0e * Use paths-from-graph.pl.
svn path=/nixos/trunk/; revision=7776
2007-01-23 15:07:30 +00:00
Eelco Dolstra
c7c16f384a * Fixed some installer bugs.
svn path=/nixos/trunk/; revision=7629
2007-01-11 00:06:46 +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
c5ab0cec9f * More installer fixes.
svn path=/nixos/trunk/; revision=7359
2006-12-17 00:10:28 +00:00
Eelco Dolstra
a0759a51e9 * Some installer fixes.
* Readme.

svn path=/nixos/trunk/; revision=7358
2006-12-16 23:50:10 +00:00
Eelco Dolstra
3e7f4280df * activate-configuration.sh: make sure that we're running on a NixOS
installation to prevent horrible accidents.
* Add the kernel parameters to isolinux.cfg.
* Use useradd/groupadd to create users/groups; use Glibc's getent to
  check for existence.
* Create the root account properly.

svn path=/nixos/trunk/; revision=7357
2006-12-16 21:48:12 +00:00
Eelco Dolstra
8f21b0119c * Get the CD to build again.
svn path=/nixos/trunk/; revision=7356
2006-12-16 18:24:49 +00:00
Eelco Dolstra
0eb46ca409 * Idem.
svn path=/nixos/trunk/; revision=7332
2006-12-13 12:21:37 +00:00
Eelco Dolstra
2d0f190f20 * More refactoring: renamed boot-environment.nix to system.nix (since
it does a lot more than just booting), and merged
  system-configuration.nix into system.nix.

svn path=/nixos/trunk/; revision=7318
2006-12-11 17:36:57 +00:00
Eelco Dolstra
c063ea2bfa * Use runCommand.
svn path=/nixos/trunk/; revision=7300
2006-12-10 22:43:04 +00:00
Eelco Dolstra
acf656125c * Lots of refactoring.
* Clear the PATH in most scripts.  This helps to ensure purity.

svn path=/nixos/trunk/; revision=7299
2006-12-10 22:29:44 +00:00
Eelco Dolstra
bc3f4f8352 * Set up Nix so that builds are never performed as root, but rather
under nix-build-N.

svn path=/nixos/trunk/; revision=7172
2006-11-29 23:41:21 +00:00
Eelco Dolstra
5c89e891df * Refactoring.
svn path=/nixos/trunk/; revision=7156
2006-11-28 10:45:21 +00:00