Marc Weber
3148755063
* Synced with trunk @ 15424
...
svn path=/nixos/branches/modular-nixos/; revision=15619
2009-05-15 15:21:33 +00:00
Eelco Dolstra
b25ee09ceb
* Remove /var/lock on startup.
...
* Remove /etc/mtab on startup. This fixes the warning on
startup when catting /proc/mount to /etc/mtab.
svn path=/nixos/trunk/; revision=13986
2009-02-05 16:19:59 +00:00
Ludovic Courtès
6085b298ae
Mount `/dev/shm' (shared memory support).
...
svn path=/nixos/trunk/; revision=13908
2009-01-29 19:17:55 +00:00
Eelco Dolstra
4bd1537860
* Create /nix/var/nix/chroots in the activation script
...
and re-create it at boot time.
svn path=/nixos/trunk/; revision=13152
2008-10-29 15:43:37 +00:00
Eelco Dolstra
d146d9945b
* Disable deleting /tmp at boot time. This should be controlled
...
by an option (which should default to off, IMHO). I was rather
surprised when I rebooted my system and it started deleting all
of /tmp (which, for instance, contained some test DB/repos for
the Subversion server)...
svn path=/nixos/trunk/; revision=13145
2008-10-29 13:10:49 +00:00
Ludovic Courtès
4891014cca
boot-stage-2-init.sh: Delete files under `/tmp'.
...
svn path=/nixos/trunk/; revision=13034
2008-10-09 20:05:52 +00:00
Marc Weber
2eb6597bd3
remove maybe existing /etc/mtab symlink and only mount usb if kernel supports it
...
svn path=/nixos/trunk/; revision=12570
2008-08-10 12:23:28 +00:00
Eelco Dolstra
249fc3c135
* Fix weird "systemConfig=blabla" errors due to wrong parsing
...
of the resume= kernel parameter.
svn path=/nixos/trunk/; revision=11260
2008-03-22 16:03:43 +00:00
Michael Raskin
4b8b296c30
Some changes (at least wipe resume image securely even without TuxOnIce)
...
svn path=/nixos/trunk/; revision=10881
2008-02-28 09:59:01 +00:00
Eelco Dolstra
ce250ffb37
* Installation CD: include a lot of modules (SATA, PATA, Firewire,
...
USB, some SCSI controllers) in the initrd for mounting the CD.
* Add nix-hardware-scan to the system.
* Upstart: don't use the -v flag.
* Include the NixOS version in the ISO image filename.
* Include testdisk and ms-sys in the CD.
* Some bugfixes in the installer.
svn path=/nixos/trunk/; revision=10556
2008-02-08 15:59:15 +00:00
Eelco Dolstra
57a01e7733
* Prevent warnings about existing directories.
...
svn path=/nixos/trunk/; revision=10489
2008-02-04 10:20:38 +00:00
Eelco Dolstra
49e8829053
* Use unionfs to provide a real Live CD, i.e., the files on the CD
...
appear writable (though all writes go to a tmpfs). This allows you
to run Nix operations on the Live CD. However, we're not quite
there yet since the CD doesn't have a valid Nix database. So for
instance a garbage collect will cause everything to be deleted,
hanging the system.
svn path=/nixos/trunk/; revision=10276
2008-01-24 16:56:09 +00:00
Eelco Dolstra
86484779c7
* Mount usbfs on /proc/bus/usb.
...
svn path=/nixos/trunk/; revision=10220
2008-01-18 15:18:32 +00:00
Michael Raskin
4475a74fb8
LiveDVD with X and sources made.
...
svn path=/nixos/trunk/; revision=10119
2008-01-11 16:59:39 +00:00
Eelco Dolstra
d4168a89b1
* Get rid of some spurious error messages.
...
svn path=/nixos/trunk/; revision=9968
2007-12-25 16:07:55 +00:00
Michael Raskin
ba09f592c8
Added TuxOnIce support to initscripts
...
svn path=/nixos/trunk/; revision=9960
2007-12-20 21:33:45 +00:00
Eelco Dolstra
c43dc7b013
* Allow Upstart's init to be upgraded in a running system.
...
svn path=/nixos/trunk/; revision=9375
2007-09-27 12:24:05 +00:00
Eelco Dolstra
7243eb1d1d
* Create /bin on the CD to suppress the /bin/sh symlink creation
...
error.
* Put the top-level system config on the CD, otherwise root doesn't
get a working login shell on the CD (and the system PATH is broken
as well).
svn path=/nixos/trunk/; revision=8658
2007-05-09 17:32:41 +00:00
Eelco Dolstra
c10fe148a3
* /var/run/current-system symlinks to the top-level path of the system
...
configuration now.
* /var/run/booted-system symlinks to the system configuration used at
boot time.
svn path=/nixos/trunk/; revision=8381
2007-03-20 13:01:53 +00:00
Eelco Dolstra
8851530afb
* Setting boot.localCommands for anything you want to execute before
...
Upstart is started.
svn path=/nixos/trunk/; revision=8229
2007-03-06 00:45:33 +00:00
Eelco Dolstra
cf9016d816
* Mount devpts.
...
* Set the right permissions on /dev/tty and /dev/ptmx.
svn path=/nixos/trunk/; revision=7703
2007-01-16 22:34:15 +00:00
Eelco Dolstra
af49eda93f
* Doh.
...
svn path=/nixos/trunk/; revision=7470
2006-12-23 00:27:39 +00:00
Eelco Dolstra
f25ce41c18
* Option boot.doHardwareScan to disable the hardware scan. Also, if
...
the flag "safemode" is specified on the kernel command line, also
disable the hardware scan.
* Option boot.kernelModules to specify a set of modules to be loaded
in stage 2 (in addition to the initrd modules in
boot.initrd.kernelModules).
svn path=/nixos/trunk/; revision=7466
2006-12-22 23:34:42 +00:00
Eelco Dolstra
3e7f4280df
* activate-configuration.sh: make sure that we're running on a NixOS
...
installation to prevent horrible accidents.
* Add the kernel parameters to isolinux.cfg.
* Use useradd/groupadd to create users/groups; use Glibc's getent to
check for existence.
* Create the root account properly.
svn path=/nixos/trunk/; revision=7357
2006-12-16 21:48:12 +00:00
Eelco Dolstra
07627d8cdd
* Move starting of udevd (and udevtrigger/settle) into an Upstart
...
job.
svn path=/nixos/trunk/; revision=7330
2006-12-13 12:17:38 +00:00
Eelco Dolstra
482a6625a9
* Use the configuration in /etc/nixos/configuration.nix by default.
...
svn path=/nixos/trunk/; revision=7319
2006-12-12 00:08:26 +00:00
Eelco Dolstra
efa9b1ba88
* Grmbl.
...
svn path=/nixos/trunk/; revision=7309
2006-12-11 03:03:42 +00:00
Eelco Dolstra
578b56d3c6
* Make halt/reboot work again (umount and reboot were no longer in
...
$PATH).
* Use the login from pam_login instead of shadowutils.
svn path=/nixos/trunk/; revision=7302
2006-12-11 00:52:36 +00:00
Eelco Dolstra
acf656125c
* Lots of refactoring.
...
* Clear the PATH in most scripts. This helps to ensure purity.
svn path=/nixos/trunk/; revision=7299
2006-12-10 22:29:44 +00:00
Eelco Dolstra
9986bda673
* Move the stuff in boot-stage-2-init.sh that doesn't have to happen
...
at boot time into a separate script. This will allow us to change
the configuration without rebooting (provided that the configuration
doesn't have a different kernel, init, etc.).
svn path=/nixos/trunk/; revision=7294
2006-12-09 19:25:23 +00:00
Eelco Dolstra
af8dc724d1
* Remove symlinks in /etc that are not in the current configuration.
...
svn path=/nixos/trunk/; revision=7293
2006-12-09 18:18:27 +00:00
Eelco Dolstra
2fe4badb9a
* Start the Nix daemon to enable multi-user package management in
...
NixOS.
svn path=/nixos/trunk/; revision=7291
2006-12-09 03:11:14 +00:00
Eelco Dolstra
f049c35a86
* More semi-purification of /etc.
...
svn path=/nixos/trunk/; revision=7290
2006-12-09 02:51:42 +00:00
Eelco Dolstra
f20d572814
* Multi-user Nix setup has changed.
...
svn path=/nixos/trunk/; revision=7285
2006-12-09 00:06:18 +00:00
Eelco Dolstra
bc3f4f8352
* Set up Nix so that builds are never performed as root, but rather
...
under nix-build-N.
svn path=/nixos/trunk/; revision=7172
2006-11-29 23:41:21 +00:00
Eelco Dolstra
39ac293b58
* Create setuid wrappers for a few programs (su and passwd). This is
...
still a bit ad hoc, but it works.
svn path=/nixos/trunk/; revision=7163
2006-11-28 17:34:27 +00:00
Eelco Dolstra
4b3525fa80
* Handle the case where nix-env is a symlink.
...
svn path=/nixos/trunk/; revision=7162
2006-11-28 16:59:47 +00:00
Eelco Dolstra
362f0f752b
* Don't put every package in the boot environment in $PATH but rather
...
create a symlink tree and put that in $PATH.
svn path=/nixos/trunk/; revision=7161
2006-11-28 16:47:14 +00:00
Eelco Dolstra
cb6c02f092
* Set NIX_CONF_DIR.
...
svn path=/nixos/trunk/; revision=7158
2006-11-28 15:06:08 +00:00
Eelco Dolstra
5c89e891df
* Refactoring.
...
svn path=/nixos/trunk/; revision=7156
2006-11-28 10:45:21 +00:00