Commit Graph

152 Commits

Author SHA1 Message Date
Eelco Dolstra
0739332a6c * Create /etc/nixos/nixpkgs, otherwise unpacking
/install/nixpkgs.tar.bz2 fails (but that file appears
  to be broken anyway...).

svn path=/nixos/trunk/; revision=12125
2008-06-16 19:06:59 +00:00
Michael Raskin
ae4ead1a33 Added install-test.sh - automatic verification of rescue-cd-configurable.nix (currently it passes)
svn path=/nixos/trunk/; revision=12006
2008-06-07 10:52:44 +00:00
Michael Raskin
120ee1d150 Fixed rescue-cd-configurable.nix
svn path=/nixos/trunk/; revision=11999
2008-06-06 10:04:27 +00:00
Eelco Dolstra
ebb43a3f67 * Make the location of Nixpkgs a function argument (defaulting
to ../../nixpkgs).  This makes the "pkgs" symlink under the 
  nixos checkout unnecessary.

svn path=/nixos/trunk/; revision=11989
2008-06-05 15:33:17 +00:00
Eelco Dolstra
e7494da962 * Allow compression of ISO images.
svn path=/nixos/trunk/; revision=11987
2008-06-05 13:42:18 +00:00
Michael Raskin
da13d7ed13 Fixed instantiation errors after kernel changes...
svn path=/nixos/trunk/; revision=11886
2008-05-23 06:40:16 +00:00
Michael Raskin
ecef3b1f61 Passing packages list to extraModulePackages
svn path=/nixos/trunk/; revision=11884
2008-05-22 19:30:00 +00:00
Eelco Dolstra
bb1ee3f190 * boot.kernel renamed to boot.kernelPackages (see the help for a
description) to allow all kernel-related packages to be overriden
  easily.  For instance, you can now say in configuration.nix

    boot = {
      kernelPackages = pkgs: pkgs.kernelPackages_2_6_25;
    };

  to use Linux 2.6.25.x.  Externel kernel module packages (like
  the NVIDIA drivers) appropriate for this kernel will then be used
  automatically.

svn path=/nixos/trunk/; revision=11880
2008-05-22 11:59:46 +00:00
Michael Raskin
ad3dc29f6d Added scripts used for remote installation
svn path=/nixos/trunk/; revision=11817
2008-05-12 07:23:55 +00:00
Michael Raskin
1a6e1a43dc Added closed-install example of configurable Live DVD. Tested: virtual network of two QEmu-s, one is booted from that LiveDVD, another executes one scripted process and forces first to install NixOS.
svn path=/nixos/trunk/; revision=11816
2008-05-12 07:12:18 +00:00
Eelco Dolstra
c612af3564 svn path=/nixos/trunk/; revision=11797 2008-05-09 11:28:03 +00:00
Eelco Dolstra
aea8ac5852 * A root on LVM example.
svn path=/nixos/trunk/; revision=11796
2008-05-09 11:14:44 +00:00
Michael Raskin
98748a319a I have probably fixed the "separate /boot" problem. Tested in Qemu, it worked
svn path=/nixos/trunk/; revision=11789
2008-05-09 05:58:21 +00:00
Michael Raskin
f49efc1039 module_aggregation renamed..
svn path=/nixos/trunk/; revision=11787
2008-05-08 16:34:50 +00:00
Eelco Dolstra
1042e4affe svn path=/nixos/trunk/; revision=11786 2008-05-08 16:03:18 +00:00
Eelco Dolstra
32e3f49182 * Updated the Nixpkgs URL.
svn path=/nixos/trunk/; revision=11737
2008-04-28 08:08:44 +00:00
Michael Raskin
2c7d02288f Let us have ddrescue on rescue disks. Like umbrella. Having it reduces chances of its use - and this is very good.
svn path=/nixos/trunk/; revision=11322
2008-03-28 12:01:59 +00:00
Michael Raskin
8fcba9ffaa Shamelessly added xfs and jfs support utilities to a pair of disk images
svn path=/nixos/trunk/; revision=11317
2008-03-28 08:06:07 +00:00
Eelco Dolstra
e32a8437d5 svn path=/nixos/trunk/; revision=11203 2008-03-19 12:58:14 +00:00
Michael Raskin
b615a392a2 Some updates to Live DVD building
svn path=/nixos/trunk/; revision=11044
2008-03-10 20:19:33 +00:00
Michael Raskin
0d5c0f946f Moved module list in a separat eexpression for easier maintenance
svn path=/nixos/trunk/; revision=10885
2008-02-28 12:10:05 +00:00
Michael Raskin
e4215fe020 Updates to LiveDVD
svn path=/nixos/trunk/; revision=10884
2008-02-28 11:42:53 +00:00
Michael Raskin
3e2ed65cf9 Fixed rescue-cd-configurable.nix
svn path=/nixos/trunk/; revision=10883
2008-02-28 10:19:27 +00:00
Eelco Dolstra
666d0bde09 * Disable modules missing on x86_64.
svn path=/nixos/trunk/; revision=10563
2008-02-08 23:51:43 +00:00
Michael Raskin
c21ba2d99e Created expression to keep in sync with rescue-cd.nix; I do not want to make creating smaller CD images more difficult.
svn path=/nixos/trunk/; revision=10559
2008-02-08 19:31:41 +00:00
Eelco Dolstra
ce250ffb37 * Installation CD: include a lot of modules (SATA, PATA, Firewire,
USB, some SCSI controllers) in the initrd for mounting the CD.
* Add nix-hardware-scan to the system.
* Upstart: don't use the -v flag.
* Include the NixOS version in the ISO image filename.
* Include testdisk and ms-sys in the CD.
* Some bugfixes in the installer.

svn path=/nixos/trunk/; revision=10556
2008-02-08 15:59:15 +00:00
Eelco Dolstra
707e515f82 * Option to enable support for the WIS GO7007.
svn path=/nixos/trunk/; revision=10491
2008-02-04 10:52:58 +00:00
Michael Raskin
b8cc335fbb Reformatted rescue-cd-configurable.nix
svn path=/nixos/trunk/; revision=10401
2008-01-30 09:42:48 +00:00
Eelco Dolstra
9fd5d70968 * The CD is now a true live CD: you can run Nix operations in it
thanks to unionfs.  For instance, nix-env and nixos-rebuild work.
  The tricky part was to build a Nix database (in the tmpfs/unionfs)
  which is now necessary to prevent store paths on the CD from being
  deleted right away because they otherwise wouldn't be valid.
  
* nixos-install: use the /etc/nixos/configuration.nix from the target
  file system (don't copy it anymore).  Since the user is supposed to
  mount the target file system on /mnt anyway, we may as well require
  that configuration.nix is placed in /mnt/etc/nixos.  This also makes
  upgrading / reinstalling much easier, since it will automatically
  use the right configuration.nix.

svn path=/nixos/trunk/; revision=10399
2008-01-30 01:28:56 +00:00
Michael Raskin
76a6498196 Catching up with rescue-cd.nix
svn path=/nixos/trunk/; revision=10391
2008-01-29 22:37:24 +00:00
Eelco Dolstra
2da50038e4 * Use aufs instead of unionfs, it seems to be more stable.
svn path=/nixos/trunk/; revision=10390
2008-01-29 18:53:15 +00:00
Eelco Dolstra
49e8829053 * Use unionfs to provide a real Live CD, i.e., the files on the CD
appear writable (though all writes go to a tmpfs).  This allows you
  to run Nix operations on the Live CD.  However, we're not quite
  there yet since the CD doesn't have a valid Nix database.  So for
  instance a garbage collect will cause everything to be deleted,
  hanging the system.

svn path=/nixos/trunk/; revision=10276
2008-01-24 16:56:09 +00:00
Michael Raskin
7fa31be440 Tried to do offline install CD, not DVD. Failure, but some parts could be useful.
svn path=/nixos/trunk/; revision=10248
2008-01-22 17:55:57 +00:00
Wouter den Breejen
ca2b1e3b77 Added boot.kernelModules argument to rescue-cd
svn path=/nixos/trunk/; revision=10227
2008-01-19 13:47:49 +00:00
Michael Raskin
7749d93524 Added extraInitrdKernelModules option to CD
svn path=/nixos/trunk/; revision=10182
2008-01-16 21:56:31 +00:00
Eelco Dolstra
622734b58b * Generate /etc/ssh/ssh_config, set ForwardX11 and XAuthLocation.
svn path=/nixos/trunk/; revision=10177
2008-01-16 13:59:03 +00:00
Michael Raskin
ec727d660a Corrections to make-iso9660-image.sh for bigger path lists.
svn path=/nixos/trunk/; revision=10156
2008-01-15 15:39:34 +00:00
Wouter den Breejen
18ed3e20d1 Added NVIDIA option to Live-dvd-X
svn path=/nixos/trunk/; revision=10137
2008-01-13 17:29:06 +00:00
Michael Raskin
4475a74fb8 LiveDVD with X and sources made.
svn path=/nixos/trunk/; revision=10119
2008-01-11 16:59:39 +00:00
Michael Raskin
a11779f912 Gw6c now can be configured not to start automatically
svn path=/nixos/trunk/; revision=10116
2008-01-11 06:36:15 +00:00
Michael Raskin
fb92b4666d Fixed some bugs in rescue-cd-configurable, fixed live-dvd. Tested: QEmu + kQemu + no networking installs OK
svn path=/nixos/trunk/; revision=10104
2008-01-09 14:33:41 +00:00
Michael Raskin
df0879e105 Made small bootable (qemu-tested) CD with rescue-cd-configurable.nix ; strangely enough it includes stdenv though.
svn path=/nixos/trunk/; revision=10102
2008-01-09 08:51:25 +00:00
Michael Raskin
db4cef85a3 Added configurable Rescue CD expression. Untested. Testing and fixes extremely welcome.
svn path=/nixos/trunk/; revision=10090
2008-01-07 18:33:07 +00:00
Michael Raskin
5a29acf6a0 Added module aggregation, also changed non-root shell prompt colour to green
svn path=/nixos/trunk/; revision=10084
2008-01-06 18:45:13 +00:00
Eelco Dolstra
af75f317a4 * Compatibility hack for building the ISO on Nix <= 0.11.
svn path=/nixos/trunk/; revision=10080
2008-01-05 23:27:15 +00:00
Eelco Dolstra
7ea8d224f4 svn path=/nixos/trunk/; revision=10078 2008-01-04 17:26:04 +00:00
Michael Raskin
808f4ad781 LiveDVD synchronized with rescue CD.
svn path=/nixos/trunk/; revision=10077
2008-01-04 17:06:14 +00:00
Eelco Dolstra
56107c81b0 * Put some help text in /etc/issue on the CD.
svn path=/nixos/trunk/; revision=10076
2008-01-04 17:05:48 +00:00
Eelco Dolstra
3abf5072ce * Installation CD: start a web browser showing the NixOS manual on
tty7.
* Add w3m to the installation CD's path since it's needed for the
  manual anyway.

svn path=/nixos/trunk/; revision=10074
2008-01-04 16:11:12 +00:00
Eelco Dolstra
f499a74998 * Use cdrkit instead of cdrtools.
svn path=/nixos/trunk/; revision=10073
2008-01-04 15:17:54 +00:00