Commit Graph

1256 Commits

Author SHA1 Message Date
Eelco Dolstra
0792719b90 * Urgh, forgot to commit.
svn path=/nixos/trunk/; revision=15669
2009-05-20 10:16:13 +00:00
Marc Weber
2dbc8d7549 FullDepEntry -> fullDepEntry
svn path=/nixos/trunk/; revision=15661
2009-05-19 23:25:13 +00:00
Nicolas Pierron
393cc8e8b9 Substitute the "require" of imported modules by module paths.
$ sed -i '/require =/ { :b; s,(import \([^)]*\)),\1,; /];/ { b e }; n; b b; :e }' *.nix


svn path=/nixos/trunk/; revision=15660
2009-05-19 23:14:45 +00:00
Michael Raskin
88e136954a Export all needed PATH elements
svn path=/nixos/trunk/; revision=15656
2009-05-19 17:08:32 +00:00
Eelco Dolstra
168268ba28 svn path=/nixos/trunk/; revision=15633 2009-05-18 11:27:20 +00:00
Marc Weber
fa32ac7fb6 follow -r15428 and move the comment as well
svn path=/nixos/trunk/; revision=15620
2009-05-15 16:07:27 +00:00
Marc Weber
3f79e158ba add missing assertion catching enabled xserver but disabled hal service
svn path=/nixos/trunk/; revision=15609
2009-05-15 07:39:36 +00:00
Michael Raskin
60060261a0 Catch duplicate entries
svn path=/nixos/trunk/; revision=15580
2009-05-13 06:10:21 +00:00
Ludovic Courtès
52889b2323 Run `fsck' when on AC power.
In practice, it should only run once in a while, and should help
find inconsistencies or corruptions sooner.

See https://mail.cs.uu.nl/pipermail/nix-dev/2009-February/001827.html
for a discussion.


svn path=/nixos/trunk/; revision=15577
2009-05-12 17:46:51 +00:00
Ludovic Courtès
018cb283f2 Fix `grub-menu-builder.sh'.
Previously, since `nullglob' is active, `$(ls /boot/kernels/*)'
would translate into `$(ls)' when `/boot/kernels' is empty, which
would then lead to the removal of all the files under $PWD.

Additionally, if `/boot/kernels' was not empty, `$fn' would contain
only the basename of the files, whereas `$filesCopied' is indexed
by full paths.


svn path=/nixos/trunk/; revision=15548
2009-05-11 11:54:18 +00:00
Sander van der Burg
7aa1c2439c Some kdm fixes
svn path=/nixos/trunk/; revision=15519
2009-05-09 21:00:02 +00:00
Michael Raskin
5b368b22bf An option for times when I only want to init Nix in chroot and build system semi-manually.
svn path=/nixos/trunk/; revision=15509
2009-05-09 07:34:20 +00:00
Michael Raskin
5cbcb9762d More correct handling of services tarball
svn path=/nixos/trunk/; revision=15508
2009-05-09 07:31:56 +00:00
Eelco Dolstra
05a7e1368a * grub-menu-builder.sh: with copyKernels = true, don't delete all of
/boot/kernels and then copy all the kernels/initrds.  Instead, copy
  only the kernels/initrds that don't exist yet in /boot/kernels, then
  delete obsolete files in /boot/kernels.  Also, use slightly nicer
  file names in /boot/kernels.

svn path=/nixos/trunk/; revision=15505
2009-05-08 11:33:22 +00:00
Michael Raskin
5af2b1b580 Allow by-label mounting of root on removable device in the drive which does not report media change.
svn path=/nixos/trunk/; revision=15480
2009-05-07 04:24:45 +00:00
Eelco Dolstra
eb32ab1ff2 * Support printing via HTTPS.
svn path=/nixos/trunk/; revision=15469
2009-05-06 13:17:14 +00:00
Eelco Dolstra
d2b0268646 * Fixed URL.
svn path=/nixos/trunk/; revision=15468
2009-05-06 12:47:08 +00:00
Eelco Dolstra
f7f64961ad * Make "kde" the default since "gnome" is broken.
svn path=/nixos/trunk/; revision=15464
2009-05-06 09:09:53 +00:00
Michael Raskin
e4a1748226 Port main functionality of rescue-cd-configurable into rescue-cd.nix as a set of small fixes. Rogue, manual are now ordinary jobs. It is possible to include build dependencies. It is possible to choose one of a few configurations in the boot menu. Of course, configuration overrides may be passed
svn path=/nixos/trunk/; revision=15430
2009-05-03 11:37:20 +00:00
Michael Raskin
26e952582f Export some configuration data about on-boot layout
svn path=/nixos/trunk/; revision=15428
2009-05-03 11:08:17 +00:00
Michael Raskin
d90d3420ef Replace theme sources with gentoo distfiles
svn path=/nixos/trunk/; revision=15427
2009-05-03 11:07:28 +00:00
Michael Raskin
9771cbbe21 Set devpts mode: failing to do so yields trouble with 2.6.30-rc
svn path=/nixos/trunk/; revision=15424
2009-05-02 16:25:23 +00:00
Marc Weber
2470db9d74 also add uhci_hcd, thanks to ugo @ irc
svn path=/nixos/trunk/; revision=15413
2009-04-30 12:21:41 +00:00
Eelco Dolstra
ef64840085 * Don't hardcode values specific to the program transformation / Stratego wikis.
svn path=/nixos/trunk/; revision=15408
2009-04-29 17:03:58 +00:00
Eelco Dolstra
a29bfb0d7b * Use the default Subversion (1.6).
svn path=/nixos/trunk/; revision=15407
2009-04-29 17:03:29 +00:00
Rob Vermaas
9325fa9ccc iwlwifi5000ucode from pkgs
svn path=/nixos/trunk/; revision=15397
2009-04-29 15:10:14 +00:00
Eelco Dolstra
d29b8323e1 * Support loading the Intel 5000 firmware.
svn path=/nixos/trunk/; revision=15396
2009-04-29 14:51:17 +00:00
Rob Vermaas
e3ad6a6f59 Added enableTCPIP option for postgresql (defaults to false) to allow tcpip connections
svn path=/nixos/trunk/; revision=15391
2009-04-29 12:25:25 +00:00
Eelco Dolstra
0f99f50e34 * Use lib/perl5/site_perl.
svn path=/nixos/trunk/; revision=15370
2009-04-28 13:43:48 +00:00
Eelco Dolstra
114109b709 * The X server now needs HAL running.
svn path=/nixos/trunk/; revision=15369
2009-04-28 13:43:22 +00:00
Eelco Dolstra
2cd1e7239f * Atomically update grub/menu.lst (although we really need an fsync here).
svn path=/nixos/trunk/; revision=15368
2009-04-28 13:43:03 +00:00
Lluís Batlle i Rossell
38d7e7b780 Sorry, I disabled X hal config in my last commit, thinking it was still not usable.
I see the problem rests only in configuring the keyboard layout in hal, for X.
Nevertheless, using the client "setxkbmap" works, which can help until we
can configure the keyboard layout in configuration.nix.


svn path=/nixos/trunk/; revision=15348
2009-04-28 08:47:13 +00:00
Lluís Batlle i Rossell
bf04b4c7dc Making xserver cope with new evdev input device, and the proper dri mesa driver directory.
svn path=/nixos/trunk/; revision=15346
2009-04-28 07:58:20 +00:00
Eelco Dolstra
1723eaec3d * Use evdev instead of the deprecated keyboard/mouse drivers. Note:
evdev gets the keyboard layout / model from HAL (`lshal | grep
  xkb'), but we don't yet have a way to override the default (`us').

svn path=/nixos/trunk/; revision=15345
2009-04-27 23:19:31 +00:00
Eelco Dolstra
dca7981111 * Make sure that the FDI cache is flushed on startup. Mine had a
timestamp somewhere in 2008, so apparently it's not getting
  updated.

svn path=/nixos/trunk/; revision=15344
2009-04-27 23:09:25 +00:00
Eelco Dolstra
7da8137f18 * Re-enable Glibc locales.
svn path=/nixos/trunk/; revision=15340
2009-04-27 21:52:10 +00:00
Eelco Dolstra
b891792ddd * Hack to make desktop locking in KDE 3 work.
svn path=/nixos/trunk/; revision=15326
2009-04-26 21:06:00 +00:00
Eelco Dolstra
d9f4475dd5 * Be able to cope with future changes to Upstart.
svn path=/nixos/trunk/; revision=15312
2009-04-25 22:36:56 +00:00
Eelco Dolstra
5ac2532cc7 * Add GNU parted to the CD.
svn path=/nixos/trunk/; revision=15274
2009-04-23 12:56:17 +00:00
Eelco Dolstra
3a7834dcac * Use perlPackages.
svn path=/nixos/trunk/; revision=15211
2009-04-21 12:38:13 +00:00
Andres Löh
31ff856a52 Updated reference to xmonad.
svn path=/nixos/trunk/; revision=15208
2009-04-21 11:29:40 +00:00
Eelco Dolstra
9940de0088 * After upgrading to X.org server 1.5.3, we suddenly need to set
"AllowEmptyInput" to "off", otherwise we get no keyboard or mouse.
  The logfile then says:

    (WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse'
      will be disabled.
    (WW) Disabling Keyboard[0]
    (WW) Disabling Mouse[0]

  which seems rather weird.

svn path=/nixos/trunk/; revision=15204
2009-04-21 08:03:05 +00:00
Eelco Dolstra
453e9abc9e * Work around an apparent bug in Bash 4.0. It no longer accepts this:
echo $(cat <<EOF
    bla
    EOF)

  It does accept backticks:

    echo `cat <<EOF
    bla
    EOF`

svn path=/nixos/trunk/; revision=15192
2009-04-20 16:26:50 +00:00
Marc Weber
ed43363e2a following renaming whatis -> showVal
svn path=/nixos/trunk/; revision=15145
2009-04-19 10:36:30 +00:00
Eelco Dolstra
4f3d55232a * Don't do a sync, they're incredibly expensive. (I just had one that took
25 minutes to complete...)

svn path=/nixos/trunk/; revision=15086
2009-04-16 13:29:22 +00:00
Eelco Dolstra
760f484e4d * Removed some more stuff from the CD because the x86_64-linux ISO is
over 700 MB.  (Maybe vim could be replaced by a smaller vi?)
  Note that the main size problem for the x86_64-linux ISO is that it
  contains two Glibcs - Grub has a dependency on the 32-bit Glibc.  It
  would be nice to get rid of that.

svn path=/nixos/trunk/; revision=15074
2009-04-16 08:24:38 +00:00
Eelco Dolstra
723be3579d * Remove gdb from the CD.
svn path=/nixos/trunk/; revision=15062
2009-04-15 11:51:37 +00:00
Eelco Dolstra
7409bb9ec1 * Use Linux 2.6.28 on the installation CD.
svn path=/nixos/trunk/; revision=15061
2009-04-15 10:13:37 +00:00
Eelco Dolstra
ee3393df8d * Creating /var/spool/whatever fails if /var/spool doesn't exist.
svn path=/nixos/trunk/; revision=15058
2009-04-15 09:57:38 +00:00
Sander van der Burg
5c165ad815 Added vboxdrv to udev in order to have proper permissions
svn path=/nixos/trunk/; revision=15032
2009-04-14 13:45:57 +00:00