Eelco Dolstra
1cddeefb30
* Provide a patched ATerm library that works on 64-bit systems and on
...
systems with Glibc 2.5 or GCC 4.1.x.
svn path=/nixpkgs/trunk/; revision=7032
2006-11-14 15:55:57 +00:00
Eelco Dolstra
23b840f5bd
* Refactor a bit.
...
svn path=/nixpkgs/trunk/; revision=7030
2006-11-14 15:49:07 +00:00
Eelco Dolstra
1ace3742a3
* Fix bzip2 on cygwin.
...
svn path=/nixpkgs/trunk/; revision=7025
2006-11-13 23:01:35 +00:00
Eelco Dolstra
82ce465751
* Use `exportReferencesGraph' to register the references of the
...
initial Nix installation correctly.
svn path=/nixu/trunk/; revision=7021
2006-11-13 19:01:39 +00:00
Eelco Dolstra
91a66e72dc
* rescue-system -> boot-environment.
...
svn path=/nixu/trunk/; revision=7017
2006-11-13 16:19:57 +00:00
Eelco Dolstra
f9d0c57385
* Set permissions explicitly.
...
svn path=/nixu/trunk/; revision=7015
2006-11-13 11:42:23 +00:00
Eelco Dolstra
49f8402876
* Boot into a fully functional stage 2.
...
* Stage 2 init: handle non-read-only roots.
svn path=/nixu/trunk/; revision=7014
2006-11-13 11:41:27 +00:00
Eelco Dolstra
5474c6518f
* Impurity in udev: don't call /usr/bin/install.
...
svn path=/nixpkgs/trunk/; revision=7013
2006-11-13 10:33:29 +00:00
Martin Bravenboer
d7fcf2f810
Added /usr/local/bin to the initial search path to support Massala
...
svn path=/nixpkgs/trunk/; revision=7011
2006-11-13 10:09:56 +00:00
Eelco Dolstra
0b26af2188
* The installer now installs a configuration on the target device that
...
boots into stage 1 (kernel+initrd) succesfully.
`system-configuration.nix' contains the definition of the
configuration to be installed. The attribute systemConfiguration is
installed into the profile /nix/var/nix/profiles/system. Then the
program /nix/var/nix/profiles/system/bin/switch-to-configuration is
called to finalise the installation. This program (generated by
system-configuration.sh) installs Grub on the drive with a menu that
contains the entry for the desired kernel and initrd.
In principle this allows us to do rollbacks to previous system
configurations by doing `nix-env --rollback' and then calling
switch-to-configuration to update Grub. Ideally this should be done
in a single command (and we should consider the obvious risk of
garbage collecting the current kernel etc. to which the current Grub
menu points...).
Maybe the responsibility for generating the Grub menu should be
placed somewhere else. For instance, we could generate a Grub menu
automatically out of all the generations in the `system' profile.
svn path=/nixu/trunk/; revision=7009
2006-11-12 23:30:03 +00:00
Eelco Dolstra
0785dfb9f8
* Lots of refactoring; put the CD image generation in rescue-cd.nix.
...
Support booting from something other than a CD. Add some parameters
to specify the root device.
svn path=/nixu/trunk/; revision=7000
2006-11-12 18:48:47 +00:00
Eelco Dolstra
afc05314c4
* The installer now takes a user-specified Nix expression that will be
...
built in the target Nix store and installed in the "system" user
environment. Not quite sure what should go in there, but probably
the kernel, initrd, the boot scripts and eventually the system
services. Maybe grub as well.
svn path=/nixu/trunk/; revision=6993
2006-11-11 22:31:26 +00:00
Eelco Dolstra
b7e8c174a1
* Add Perl to the path (since it was already on the CD as a dependency).
...
svn path=/nixu/trunk/; revision=6992
2006-11-11 22:29:05 +00:00
Eelco Dolstra
b60dd36c8f
* Set up the target file system, copy Nix, do a nix-pull in a chroot,
...
and do a nix-env to install some packages.
svn path=/nixu/trunk/; revision=6991
2006-11-11 17:59:08 +00:00
Eelco Dolstra
67f3ee3b64
* Probe for the NixOS installation CD.
...
svn path=/nixu/trunk/; revision=6985
2006-11-10 14:38:15 +00:00
Eelco Dolstra
3dcb2e095e
* Urgh, go back to 0.25 (0.26 fails on most platforms).
...
svn path=/nixpkgs/trunk/; revision=6984
2006-11-08 16:39:20 +00:00
Eelco Dolstra
aca43b766b
* Sheesh, Subversion is picky.
...
svn path=/nixpkgs/trunk/; revision=6981
2006-11-08 16:11:51 +00:00
Eelco Dolstra
73448634c4
* Subversion 1.4.2.
...
* Neon 0.26.2.
svn path=/nixpkgs/trunk/; revision=6980
2006-11-08 13:03:55 +00:00
Eelco Dolstra
4b333e0f67
* Add the installer and rsync to the path.
...
svn path=/nixu/trunk/; revision=6979
2006-11-08 09:31:45 +00:00
Eelco Dolstra
36b1473e09
* Allow the result to be stored somewhere else than $out.
...
svn path=/nixpkgs/trunk/; revision=6978
2006-11-08 09:26:18 +00:00
Eelco Dolstra
6705045334
* Start of the installer: copy the closure of Nix to the target device
...
so we can then do nix-env operations in a chroot to do the actual
installation.
svn path=/nixu/trunk/; revision=6977
2006-11-08 02:34:14 +00:00
Eelco Dolstra
624fe3f2d4
* Automatically bring up the network devices and start dhclient on
...
them.
svn path=/nixu/trunk/; revision=6976
2006-11-07 22:45:42 +00:00
Eelco Dolstra
da8cec4795
* Use udevtrigger to create device nodes for all known devices.
...
* Plug and play: load kernel modules for all supported PCI devices
automatically.
svn path=/nixu/trunk/; revision=6975
2006-11-07 22:05:27 +00:00
Eelco Dolstra
986ec9c8a1
* Fix some paths.
...
svn path=/nixpkgs/trunk/; revision=6974
2006-11-07 21:13:57 +00:00
Eelco Dolstra
dab13a2af0
* Latest udev, which builds against the latest kernel.
...
svn path=/nixpkgs/trunk/; revision=6973
2006-11-07 19:48:05 +00:00
Eelco Dolstra
eac4138841
* Cygwin patch.
...
svn path=/nixpkgs/trunk/; revision=6972
2006-11-07 16:07:42 +00:00
Eelco Dolstra
347ef7f889
* Turn on some Cygwin packages.
...
svn path=/nixpkgs/trunk/; revision=6969
2006-11-07 15:14:06 +00:00
Eelco Dolstra
908b2bf027
* Latest cpio; fixes a problem with symlinks.
...
svn path=/nixpkgs/trunk/; revision=6965
2006-11-07 10:48:08 +00:00
Eelco Dolstra
8a43fcd57c
* Stage 1: clean up better (unmount /proc and /sys, remount new root
...
to /).
* Stage 2: use sysvinit to create a bunch of mingetty's on virtual
consoles 1-6. Show a nice welcoming message. Start syslogd and log
everything to tty10.
svn path=/nixu/trunk/; revision=6963
2006-11-06 22:21:50 +00:00
Eelco Dolstra
023e2003df
* Install into $out/sbin, not $out/usr/sbin.
...
svn path=/nixpkgs/trunk/; revision=6962
2006-11-06 22:16:10 +00:00
Eelco Dolstra
1cec62ba5d
* Add additional packages to the path of the interactive shell started
...
at the end of stage 2.
* Stage 2: set MODULE_DIR to point at a full module tree.
svn path=/nixu/trunk/; revision=6954
2006-11-04 13:25:10 +00:00
Eelco Dolstra
2e2af9df0a
* Doh x3.
...
svn path=/nixu/trunk/; revision=6951
2006-11-04 12:08:10 +00:00
Eelco Dolstra
09cdc88291
* Doh x2.
...
svn path=/nixu/trunk/; revision=6950
2006-11-04 12:08:02 +00:00
Eelco Dolstra
07d2f691f0
* Doh.
...
svn path=/nixu/trunk/; revision=6949
2006-11-04 12:07:16 +00:00
Eelco Dolstra
b3c6510393
* Conform to build farm conventions.
...
svn path=/nixu/trunk/; revision=6948
2006-11-04 12:00:05 +00:00
Eelco Dolstra
eb1c50ebc9
* Version number, stable marker.
...
svn path=/nixu/trunk/; revision=6947
2006-11-04 11:27:08 +00:00
Eelco Dolstra
db08678bd4
* Create dummy mount points in the ISO image for /proc etc.
...
svn path=/nixu/trunk/; revision=6946
2006-11-04 00:18:22 +00:00
Eelco Dolstra
1691c66673
* Nix expression for stage 2.
...
* Start stage 2 from stage 1.
svn path=/nixu/trunk/; revision=6945
2006-11-04 00:01:13 +00:00
Eelco Dolstra
14cc7b8828
* Support adding the closure of a set of store paths to the ISO
...
image (along with an /init symlink for stage 2 of the boot
process).
svn path=/nixu/trunk/; revision=6944
2006-11-03 23:41:57 +00:00
Eelco Dolstra
1aa35c8267
* Instead of adding all of util-linux to the initd, add just mount
...
(and nuke its references so that we don't get glibc etc.). The
initrd is now 3.2 MB (and that includes the entire staticTools from
the stdenv bootstrap, most of which we don't actually need).
svn path=/nixu/trunk/; revision=6942
2006-11-03 13:35:02 +00:00
Eelco Dolstra
609607768f
* Turn the nukeRefs() function into a separate program.
...
svn path=/nixpkgs/trunk/; revision=6941
2006-11-03 13:33:24 +00:00
Eelco Dolstra
d0a18cf8fa
* Also symlink the linux directory in kernel-headers.
...
svn path=/nixpkgs/trunk/; revision=6940
2006-11-03 13:32:58 +00:00
Eelco Dolstra
a94dd5c8b1
* Given a kernel build (with modules in $kernel/lib/modules/VERSION),
...
`modules-closure.nix' produces a module tree in
$out/lib/modules/VERSION that contains only the modules identified
by `rootModules', plus their dependencies. It also generates an
appropriate modules.dep. This is useful for initrds, as we
obviously don't want a copy of the entire kernel module tree in the
initial RAM disk.
svn path=/nixu/trunk/; revision=6939
2006-11-03 11:47:40 +00:00
Eelco Dolstra
e8261201d8
* Dietlibc: symlink to the asm directory from kernel-headers, because
...
some programs (such as module-init-tools) need it.
* Remove module-init-tools-static, it now builds out of the box with
dietlibc.
svn path=/nixpkgs/trunk/; revision=6938
2006-11-03 11:09:06 +00:00
Eelco Dolstra
412fcfe2f7
* Fixes.
...
svn path=/nixu/trunk/; revision=6937
2006-11-03 09:49:34 +00:00
Eelco Dolstra
6eb94a9bfd
* Load some modules, mount the install CD.
...
svn path=/nixu/trunk/; revision=6936
2006-11-03 09:45:06 +00:00
Eelco Dolstra
039b141471
* Generate a modules.dep containing correct paths.
...
svn path=/nixpkgs/trunk/; revision=6935
2006-11-03 08:32:23 +00:00
Eelco Dolstra
23381ed03f
* Add the module tools, util-linux and the kernel modules to the
...
initrd. Of course, the next step is to only add the kernel modules
that we're going to need.
svn path=/nixu/trunk/; revision=6934
2006-11-03 00:36:08 +00:00
Eelco Dolstra
b99122d759
* Set MODULE_DIR.
...
svn path=/nixpkgs/trunk/; revision=6933
2006-11-03 00:34:48 +00:00
Eelco Dolstra
707dd20538
* Make device nodes in the stage 1 init (copied from ../init.sh).
...
svn path=/nixu/trunk/; revision=6932
2006-11-02 23:58:06 +00:00