3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

29 commits

Author SHA1 Message Date
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 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 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 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 d707a61ac2 add nano
svn path=/nixu/trunk/; revision=3670
2005-08-23 15:56:17 +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 b39fca2ade - add udev (not yet in use)
- clean up 100 MB of unused stuff on the CD

svn path=/nixu/trunk/; revision=3637
2005-08-19 15:26:01 +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 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 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
Armijn Hemel bc3ffa3458 get NixOS more towards an installable state. Stuff now actually gets installed on the disk itself. Missing is functionality to detect the right drive with
the install CD in it.

svn path=/nixu/trunk/; revision=3531
2005-08-05 13:48:22 +00:00
Armijn Hemel b9617c9541 we need parted in the installer and on the target disk for sure...
svn path=/nixu/trunk/; revision=3487
2005-07-31 20:40:57 +00:00
Armijn Hemel ec898a881e build kernel and copy it to the diskimage. Now all there is left is an
initial ramdisk.

svn path=/nixu/trunk/; revision=3481
2005-07-31 15:25:39 +00:00
Armijn Hemel cc0935ebe8 - added some more comments, generate ISO file
- added stubs for making a bootable CD with isolinux. Still missing are
kernel, boot configuration and more

svn path=/nixu/trunk/; revision=3480
2005-07-31 13:11:44 +00:00
Armijn Hemel 5c6d52dbd8 - add more directories
- make /dev/null inside a chroot to install

svn path=/nixu/trunk/; revision=3366
2005-07-19 15:39:32 +00:00
Armijn Hemel 8122aebd19 add grub
svn path=/nixu/trunk/; revision=3353
2005-07-18 09:47:42 +00:00
Armijn Hemel 1054efb792 apart from nixpkgs also copy the NixU scripts
svn path=/nixu/trunk/; revision=3298
2005-07-06 14:42:41 +00:00
Armijn Hemel 1e607c9221 rewrite nixu scripts to use nix-push. Install the whole NixU environment in
two main steps:

1 - first build everything (nix-push)
2 - install everything on a seperate disk/machine (nix-pull)

svn path=/nixu/trunk/; revision=3291
2005-07-05 13:52:49 +00:00
Armijn Hemel f763a7c40a change to new packages, with new nix, new bash, new everything! It's shiny and new!
svn path=/nixu/trunk/; revision=1730
2004-11-09 10:28:21 +00:00
Armijn Hemel 511b3fd83f add more packages that are necessary for a complete build
svn path=/nixu/trunk/; revision=1246
2004-08-06 17:22:24 +00:00
Armijn Hemel 85bbb5e447 add a whole bunch of packages to make NixU a bit more useful:
- ssh
- shadowutils
- ping
- vim
- less
- strace
- ...

svn path=/nixu/trunk/; revision=1243
2004-08-06 13:52:39 +00:00
Eelco Dolstra 91a5fe9eb0 * Networking now works in the UML machine. Masquerading for the tun
device should be enabled on the host in order for the UML machine to
  be able to talk to the Internet.

svn path=/nixu/trunk/; revision=806
2004-02-19 12:49:00 +00:00
Eelco Dolstra 3514c5658b * Proper sysvinit boot/halt. At runlevel 2, creates login shells at
virtual consoles 0 and 1.  To shutdown, do `init 0' (`halt' and
  `shutdown' don't work because they call /sbin/init).

svn path=/nixu/trunk/; revision=803
2004-02-18 14:56:32 +00:00
Eelco Dolstra 1e87e75d07 * Use sysvinit's init to start the system. This has the happy
side-effect of initialising the console properly (i.e., enabling
  Ctrl-[C, Z]).

svn path=/nixu/trunk/; revision=801
2004-02-18 10:56:07 +00:00
Eelco Dolstra 1f7a8c8ae9 * Started setting up a proper init environment.
svn path=/nixu/trunk/; revision=785
2004-02-16 09:41:00 +00:00