Commit graph

71 commits

Author SHA1 Message Date
Armijn Hemel ff05d84a10 we also want /dev/input to be available (fixme, can't this one be created by udev instead?)
svn path=/nixu/trunk/; revision=4593
2006-01-26 10:25:06 +00:00
Armijn Hemel 9cbf8a84fb enable swap during install
svn path=/nixu/trunk/; revision=4503
2006-01-07 14:36:13 +00:00
Armijn Hemel bdf2a61d91 add /var/run/usb. This is needed for hotplugging. Actually, this is probably
the wrong place to make these directories. After all, if we build this into
a real installer what do we know what to install? Perhaps we will use a
completely different hotplug implementation that won't use this directory.
Ah well, future work ;)

svn path=/nixu/trunk/; revision=4502
2006-01-07 01:24:29 +00:00
Armijn Hemel f20d80957c add some testscripts for generating kernel modules layout. Right now too
much cruft gets symlinked, needs weeding and documenting...lots of
documenting....

svn path=/nixu/trunk/; revision=4501
2006-01-06 15:51:19 +00:00
Armijn Hemel d124bd9434 some more tweaks. Enable extra logins on tty2 and tty3. Default root password
is empty.

svn path=/nixu/trunk/; revision=4429
2005-12-24 21:15:24 +00:00
Armijn Hemel fe355bba78 replace a lot of tools we initially use with statically linked versions.
This reduces the ramdisk installer size with a few megabytes when gzipped,
but with about 40 MB when unpacked in memory.

There are a few improvements possible:

- strip the binaries. This saves another few MBs.
- only copy the binaries we really need to /bin or /sbin. This could reduce
the size of the installer a lot, especially with util-linux, of which we
don't use that many tools at all.
- try to move some packages we link with glibc right now (like util-linux) to
dietlibc. This will not work for bash, already tried that.
- try to use busybox as a replacement for everything.

svn path=/nixu/trunk/; revision=4428
2005-12-24 11:50:42 +00:00
Armijn Hemel f130123af5 also make /var/lock and /var/lock/subsys: needed for ssh and others
svn path=/nixu/trunk/; revision=4414
2005-12-22 19:34:36 +00:00
Armijn Hemel ec790cdf85 add a seperate dir for SSH-keys. Remove the /etc-secret dir, we probably won't be using it anyway...
svn path=/nixu/trunk/; revision=4362
2005-12-13 14:28:55 +00:00
Armijn Hemel 5d0899c0bc add a bunch of stuff for SSH user privilege seperation (yes, we want this)
svn path=/nixu/trunk/; revision=4361
2005-12-13 14:24:31 +00:00
Armijn Hemel 22195d35a5 make /etc/sysconfig so we can store information, such as hardware configuration of the box (needed for Kudzu)
svn path=/nixu/trunk/; revision=4107
2005-10-19 14:14:08 +00:00
Armijn Hemel b084dc18b3 also add coreutils to Nix default profile
svn path=/nixu/trunk/; revision=4106
2005-10-19 14:07:21 +00:00
Armijn Hemel 569bbf75b1 don't make /bin/bash anymore
svn path=/nixu/trunk/; revision=4095
2005-10-16 21:48:33 +00:00
Armijn Hemel 583ce934a8 - add NIC driver info for vmware
- add profile support

svn path=/nixu/trunk/; revision=4069
2005-10-11 19:39:41 +00:00
Armijn Hemel 18a56f26a2 argh! If we want to have # echoed into a file, make sure to enclose it in
brackets...

svn path=/nixu/trunk/; revision=3980
2005-09-30 16:50:35 +00:00
Armijn Hemel f8cea32cf1 add some stuff, incl. some things to /etc/inittab, but keep them outcommented
svn path=/nixu/trunk/; revision=3976
2005-09-30 15:22:08 +00:00
Armijn Hemel 9f0a098056 fix error in detection of NixOS install CD
svn path=/nixu/trunk/; revision=3772
2005-09-02 16:47:58 +00:00
Armijn Hemel 066c85b4f0 run a busy loop after we've finished the install, instead of kernel panicking
svn path=/nixu/trunk/; revision=3762
2005-08-31 16:38:34 +00:00
Armijn Hemel f74115278f add a shell on tty2
svn path=/nixu/trunk/; revision=3760
2005-08-31 12:58:46 +00:00
Armijn Hemel 14b2ad157c add logging capabilities. Install log is now copied to /root/install-log.
svn path=/nixu/trunk/; revision=3759
2005-08-31 12:02:28 +00:00
Armijn Hemel d227f0e83a temporarily outcomment mingetty
svn path=/nixu/trunk/; revision=3757
2005-08-31 10:11:07 +00:00
Armijn Hemel 142cef0a9e switch to dietlibc coreutils in the initrams. Use thit up until a certain point, after which we switch to the normal coreutils. Oh, this should really be refactored...
svn path=/nixu/trunk/; revision=3738
2005-08-28 16:56:48 +00:00
Armijn Hemel de289092b2 - various cleanups
- have mingetty listen on tty2 (but this still fails because of missing /dev/log
- get rid of /init on the targetdrive, solely use /sbin/init (and even that has to go one day)
- use dietlibc statically linked e2fsprogs for the installer. More to come :)

svn path=/nixu/trunk/; revision=3734
2005-08-28 00:51:34 +00:00
Armijn Hemel a3ae8f4143 remove some debugging statements
svn path=/nixu/trunk/; revision=3716
2005-08-27 00:04:30 +00:00
Armijn Hemel 796f3bb691 add grub configuration file (menu.lst) during installation
svn path=/nixu/trunk/; revision=3715
2005-08-26 22:21:29 +00:00
Armijn Hemel 3b7a4df52e use tar instead of cp, which should be a bit faster (but is it really?)
svn path=/nixu/trunk/; revision=3709
2005-08-26 18:38:57 +00:00
Armijn Hemel 789f716808 use tar for copying nixpkgs instead of cp to speed up installation process.
Commit 3700 :)

svn path=/nixu/trunk/; revision=3700
2005-08-26 16:06:52 +00:00
Armijn Hemel 3dce29bb92 make /var/run in the installdisk, add some code for registering the copied
Nix store in the Nix database, still unfinished

svn path=/nixu/trunk/; revision=3690
2005-08-25 23:10:36 +00:00
Armijn Hemel af61e91592 add /nix/var/nix/profiles and other nix related directories
svn path=/nixu/trunk/; revision=3680
2005-08-24 14:04:07 +00:00
Armijn Hemel 240a2de945 - make /lib/modules/<hash-part>-<kernelversion>
- make symlinks to "build" and "kernel" in those directories
- copy all modules.* files (like modules.dep). This is done so future add-on
modules can modify these files instead of the ones in the store...

Since the Nix hash is embedded in the path, this can still be considered
safe and it makes modprobe work automagically.

svn path=/nixu/trunk/; revision=3674
2005-08-23 23:07:49 +00:00
Armijn Hemel 52bc4c5681 get the kernel versioning right. Right now it's only printed, but it should be used for creating the /lib/modules/<kernel-version> stuff right
svn path=/nixu/trunk/; revision=3673
2005-08-23 21:00:45 +00:00
Armijn Hemel d707a61ac2 add nano
svn path=/nixu/trunk/; revision=3670
2005-08-23 15:56:17 +00:00
Armijn Hemel fe90fce5d1 mount /dev/pts, zo we've got PTYs (for screen)
svn path=/nixu/trunk/; revision=3661
2005-08-22 14:23:01 +00:00
Armijn Hemel b1b5fdd7cd change root homedir to /root instead of /home/root
svn path=/nixu/trunk/; revision=3659
2005-08-21 23:15:24 +00:00
Armijn Hemel f88a356cc6 make correct symlink to /bin/sh and /bin/bash
svn path=/nixu/trunk/; revision=3658
2005-08-21 22:41:22 +00:00
Armijn Hemel fb451cc09f use the dhcp wrapper, add a directory needed for DHCP
svn path=/nixu/trunk/; revision=3656
2005-08-21 19:56:30 +00:00
Armijn Hemel 4c6230b0a6 add dhcp package. This doesn't work quite nicely though, needs some resolving...
svn path=/nixu/trunk/; revision=3653
2005-08-21 17:39:47 +00:00
Armijn Hemel 6e7614fdb0 use module-init-tools instead of modutils. Now we can insert modules :)
svn path=/nixu/trunk/; revision=3650
2005-08-20 21:49:53 +00:00
Armijn Hemel 49cd9fae36 make /lib/modules
svn path=/nixu/trunk/; revision=3643
2005-08-19 22:39:48 +00:00
Armijn Hemel 26ccf579e0 ssh wants /dev/urandom (or /dev/random, but urandom works too)
svn path=/nixu/trunk/; revision=3631
2005-08-17 20:51:19 +00:00
Armijn Hemel 0b4feb3a6c add hotplug here, temporarily disable e2fsck, so at least everything is mounted rw
svn path=/nixu/trunk/; revision=3630
2005-08-17 19:19:54 +00:00
Armijn Hemel e8f7642f09 fix copying bug for real
svn path=/nixu/trunk/; revision=3588
2005-08-16 18:32:08 +00:00
Armijn Hemel 2389fc5bef copy /nixpkgs contents instead of just the link (fixes NIXOS-9)
svn path=/nixu/trunk/; revision=3586
2005-08-15 17:02:54 +00:00
Armijn Hemel 597f963528 more cleanups
- remove some debugging code
- add better descriptions for a few actions

svn path=/nixu/trunk/; revision=3582
2005-08-14 15:08:15 +00:00
Armijn Hemel 08ad69d2dc some cleanups:
- umount the filesystem after installing (so it's clean)
- some hardcoded paths gone
- 

svn path=/nixu/trunk/; revision=3581
2005-08-14 14:34:46 +00:00
Armijn Hemel ea3b3356ba add right devices in /dev
NixOS now boots, but mounts the filesystem read-only, filesystem is dirty,
etc.

svn path=/nixu/trunk/; revision=3579
2005-08-14 13:50:29 +00:00
Armijn Hemel c7bd0ec473 get grub right, also copy all the packages needed for a nice booting system
svn path=/nixu/trunk/; revision=3575
2005-08-14 01:40:36 +00:00
Armijn Hemel fdab68ff43 make a /boot directory on the targetdrive
svn path=/nixu/trunk/; revision=3566
2005-08-12 23:51:12 +00:00
Armijn Hemel a866ceef3e add grub to the path
svn path=/nixu/trunk/; revision=3564
2005-08-12 23:40:12 +00:00
Armijn Hemel edbd58ca43 search for NixOS CD, mount it, copy packages onto the target disk for real
now. Only IDE drives supported so far.

svn path=/nixu/trunk/; revision=3559
2005-08-12 16:26:51 +00:00
Armijn Hemel 592b736d33 add modutils, start with code that will find the right CD player our install CD is in.
svn path=/nixu/trunk/; revision=3540
2005-08-09 16:51:26 +00:00