Commit graph

3932 commits

Author SHA1 Message Date
Armijn Hemel
a05f476c39 add a doc directory, with some documentation in it
svn path=/nixu/trunk/; revision=5006
2006-03-08 19:14:12 +00:00
Armijn Hemel
89df039e35 * store the value of hotplug in /etc/sysconfig/hotplug and cat this value
to /proc/sys/kernel/hotplug during boot. (FIXME, install hotplug during
install of NixOS)
* /dev/input is created by udev

svn path=/nixu/trunk/; revision=4660
2006-02-01 13:31:52 +00:00
Armijn Hemel
78767321ce add something so we modprobe some stuff for at least one family of USB
controllers (uhci-hcd). This is of course not very elegant: even if a
machine does not have USB, or another USB controller this module will loaded.
A better way would be to let some hardware probing program run first, but
that is "future work"

svn path=/nixu/trunk/; revision=4631
2006-01-31 11:01:28 +00:00
Armijn Hemel
caf9b6bfba start of good HOWTO for using X in NixOS
svn path=/nixu/trunk/; revision=4602
2006-01-26 19:48:51 +00:00
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
6bad2b0809 do stuff with utmp and wtmp, so tools like "w" work
svn path=/nixu/trunk/; revision=4581
2006-01-20 13:47:01 +00:00
Armijn Hemel
994b85b4af make all paths absolute...still needed: a builder
svn path=/nixu/trunk/; revision=4563
2006-01-16 16:05:16 +00:00
Armijn Hemel
bb22789021 change the hostname from "uml" to "nixos" to keep eelco happy ;)
svn path=/nixu/trunk/; revision=4540
2006-01-12 13:51:43 +00:00
Armijn Hemel
80595bb21f add a bit about mounting usbfs
svn path=/nixu/trunk/; revision=4516
2006-01-08 00:42:45 +00:00
Armijn Hemel
41eb324771 add a bit about hotplugging
svn path=/nixu/trunk/; revision=4515
2006-01-08 00:23:31 +00:00
Armijn Hemel
ed5199d3b2 make symlinks to the right location
svn path=/nixu/trunk/; revision=4511
2006-01-07 22:35:20 +00:00
Armijn Hemel
908db1fd45 rename dir...it makes more sense
svn path=/nixu/trunk/; revision=4508
2006-01-07 18:07:32 +00:00
Armijn Hemel
77b661cfab e2fsprogs dynamically loads some library, even if it's statically linked.
svn path=/nixu/trunk/; revision=4505
2006-01-07 15:42:59 +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
dfa61299fe add module_init_tools/bin to the initial path on tty1
svn path=/nixu/trunk/; revision=4488
2006-01-04 18:19:23 +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
ff840ef21c small corrections to the installer
svn path=/nixu/trunk/; revision=4368
2005-12-14 00:46:59 +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
988e34e5bc touch an empty login.defs, needed for login
svn path=/nixu/trunk/; revision=4353
2005-12-12 14:45:46 +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
e378ef0bf4 update documentation
svn path=/nixu/trunk/; revision=4087
2005-10-14 10:42:06 +00:00
Armijn Hemel
b53b6e5b43 dhclient works now, adapt documentation
svn path=/nixu/trunk/; revision=4080
2005-10-12 22:40:10 +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
83aa84be94 no longer hardcode the directory where we put our stuff in (previously /tmp/arch), but use mktemp instead, which is a *lot* cleaner. Update documentation accordingly.
svn path=/nixu/trunk/; revision=4047
2005-10-11 10:48:10 +00:00
Armijn Hemel
d04db9e95f small howto on how to install today's version of NixOS.
svn path=/nixu/trunk/; revision=4001
2005-10-03 15:44:10 +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
b86eb3cf4f don't forget ramdisk login script
svn path=/nixu/trunk/; revision=3761
2005-08-31 13:26:20 +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
f64cf78dfa fix for cpio. Between cpio 2.5 and 2.6 semantics of the -c flag (which we
used) has changed. Switch to a flag which is unlikely to change (-H newc)

svn path=/nixu/trunk/; revision=3756
2005-08-31 09:39:41 +00:00
Armijn Hemel
eac09bcb31 cleanups
commit 3750 :)

svn path=/nixu/trunk/; revision=3750
2005-08-30 13:16:16 +00:00
Armijn Hemel
115f0e2a25 we don't use UML at all anymore and the installation instructions are *way*
out of date

svn path=/nixu/trunk/; revision=3749
2005-08-30 13:14:04 +00:00
Armijn Hemel
1581e0c08e remove dependency on /nix, so we can build NixOS inside NixOS
svn path=/nixu/trunk/; revision=3747
2005-08-30 11:23:56 +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
fff45e114e - register all valid paths inside the Nix database. The .drv files are not included, this is a purely binary deployment.
- add grub to the initial environment

svn path=/nixu/trunk/; revision=3717
2005-08-27 00:36:07 +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