Armijn Hemel
45a2be1fbe
also use our own cpio. Make sure we don't just query nix expressions, but
...
actually realize them as well. D'oh!
svn path=/nixu/trunk/; revision=5566
2006-07-03 23:16:44 +00:00
Armijn Hemel
8a14c8d886
wel also want to use our own gzip
...
svn path=/nixu/trunk/; revision=5565
2006-07-03 22:40:56 +00:00
Armijn Hemel
a1bd3698ef
also use our own coreutils
...
svn path=/nixu/trunk/; revision=5564
2006-07-03 22:20:22 +00:00
Armijn Hemel
c984b735bd
also use mkisofs from Nixpkgs
...
svn path=/nixu/trunk/; revision=5563
2006-07-03 09:32:15 +00:00
Armijn Hemel
a60d5c3bdb
also use sed and tar from Nixpkgs instead of the host system
...
svn path=/nixu/trunk/; revision=5562
2006-07-03 08:39:52 +00:00
Armijn Hemel
e76efef0d0
make sure we always have mktemp, by building our own version first using Nix.
...
This makes it a bit more pure to build the NixOS iso. Still room for improvement though...
svn path=/nixu/trunk/; revision=5559
2006-07-02 22:37:40 +00:00
Armijn Hemel
32c8535c4d
reenable e2fsprogs compiled with dietlibc
...
svn path=/nixu/trunk/; revision=5528
2006-06-25 10:42:17 +00:00
Armijn Hemel
02cf649af6
small cleanups, also move to newer Nix
...
svn path=/nixu/trunk/; revision=5524
2006-06-24 22:14:43 +00:00
Armijn Hemel
2a304add0b
rewrite to new Nixpkgs and new Nix version
...
svn path=/nixu/trunk/; revision=5233
2006-04-28 12:45:32 +00:00
Armijn Hemel
d8550e9d10
remove all reference to the "hotplug" package, since it is obsolete.
...
TODO: update udev
svn path=/nixu/trunk/; revision=5222
2006-04-25 23:52:31 +00:00
Armijn Hemel
af9eb8537e
move the existing documentation to the docs directory
...
svn path=/nixu/trunk/; revision=5007
2006-03-08 19:15:14 +00:00
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