nixpkgs/pkgs/os-specific/linux
Lluís Batlle i Rossell 1357904982 Committing the aufs2.1 patch by Shea Levy. His comments:
* My motivation for this patch is that kernels < 2.6.36 contain an
     e1000e that does not support the ethernet card that is part of the
     chipset for the second-generation Core-i Intel CPUs, so in order
     to have a more useful livecd I needed to get aufs working with a
     newer kernel, and 2.6.37 is the latest kernel with an official
     aufs release.
   * All sources are downloaded with fetchgit. This is because the aufs
     upstream doesn't provide release tarballs, they just add a tag to
     their git tree for an official release.
   * The make target for the aufs2.1 headers uses a Makefile in the
     kernel build directory that requires that unifdef be in the
     scripts/ subdirectory of the build directory. The way I've dealt
     with this here is by adding "make $makeFlags -C scripts unifdef"
     to the postBuild in the kernel builder. Since the builder is used
     by all kernel versions, this will require rebuilding every kernel
     and kernel-dependent package if the patch is accepted, so one
     alternative I thought of would be to create a fake kernel build
     directory where everything is symlinked to the real build
     directory except scripts/, which is first copied and then make
     unifdef is run before building aufs2.1. If that more complicated
     solution is preferred, or if anyone has ideas for another one, I
     can do that and submit a new patch.
   * The patch was tested by building a livecd ISO that uses it, then
     running the ISO from within virtualbox and installing aufs2.1-util
     from within the livecd environment.
   * The livecd was built using installation-cd-minimal.nix, with two
     changes to the Nixos tree:
        1. boot.kernelPackages = pkgs.linuxPackages_2_6_37 was added to
           profiles/minimal.nix
        2. config.boot.kernelPackages.aufs2 was changed to
           config.boot.kernelPackages.aufs2_1 in iso-image.nix
     I would have preferred to keep all changes within
     profiles/minimal.nix, but I couldn't figure out how to override
     iso-image.nix's definition of boot.extraModulePackages. Livecds
     that use an older kernel can't be built with this iso-image.nix,
     since we don't have aufs2.1 for them (just aufs2). If someone can
     point me to how I can override things set in iso-image.nix, I'd
     appreciate it.

make -C scripts unifdef compiles the unifdef application in the
scripts/ directory, and when Nix copies over the build tree to
$out/lib/modules/$version/build for kernel modules to reference, it
copies over all of scripts/ except the .o files. I can't speak for
other kernel versions, but at the least for 2.6.37.1 unifdef is not
built by default. If you look at the Makefile in scripts, unifdef is
listed  under a comment saying that the following programs are only
built on-demand.

svn path=/nixpkgs/trunk/; revision=26548
2011-03-27 15:18:39 +00:00
..
915resolution
acpi acpi: 0.09 -> 1.5 (picked from debian) 2011-02-24 22:19:27 +00:00
acpi-call Fix acpi_call kernel version reference 2010-11-12 06:12:04 +00:00
acpid Updating acpid. 2010-02-11 18:59:58 +00:00
acpitool acpitool-0.5.1 2010-05-27 19:33:37 +00:00
afuse * Get rid of many instances of "args: with args;", and other coding 2010-07-28 11:55:54 +00:00
alsa-lib Making alsa build on mips with a patch 2010-09-01 08:34:34 +00:00
alsa-plugins update alsa-{lib,utils,plugins} to 1.0.23 2010-05-27 19:33:52 +00:00
alsa-utils Allowing alsa utils to cross-build, and libao to output to alsa (not only to 2010-08-21 16:55:47 +00:00
atheros * ltrace: updated to 0.5.3. 2010-07-29 18:55:16 +00:00
ati-drivers ati-drivers: version bump. Patch by: Cillian de Róiste. 2010-11-28 09:17:42 +00:00
aufs * Get rid of many instances of "args: with args;", and other coding 2010-07-28 11:55:54 +00:00
aufs2 Now AUFS2 has proper source for 2.6.35 and 2.6.32 2010-08-29 18:31:51 +00:00
aufs2-util * Renamed "aufs2-utils" to the upstream name ("aufs-util"). 2010-05-28 09:38:44 +00:00
aufs2.1 Committing the aufs2.1 patch by Shea Levy. His comments: 2011-03-27 15:18:39 +00:00
aufs2.1-util Committing the aufs2.1 patch by Shea Levy. His comments: 2011-03-27 15:18:39 +00:00
autofs Updating autofs5. Using the upstream distribution system of tarball+patches, 2010-06-12 10:22:09 +00:00
blcr Improve os-specific/linux/blcr. Fix a problem with shared objects 2010-08-17 16:53:34 +00:00
bluez * bluez updated to 4.69. 2010-07-23 14:57:28 +00:00
bridge-utils * bridge-utils updated to 1.4. 2010-09-14 10:54:50 +00:00
broadcom-sta updated broadcom wl driver 2011-01-02 11:05:02 +00:00
checkpolicy checkpolicy: packaged 2011-03-27 04:45:46 +00:00
cifs-utils svn path=/nixpkgs/trunk/; revision=23531 2010-08-29 22:00:33 +00:00
conky conky: compiled without X support, usefull with dwm. 2010-05-27 19:33:58 +00:00
cpufrequtils Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
cramfsswap
cryopid New version of cryopid. 2009-11-08 10:38:07 +00:00
cryptsetup * Replace usage of 'udevsettle' by 'udevadm settle' in cryptsetup. 2010-01-03 11:01:58 +00:00
dietlibc * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
directvnc Add directvnc. Not sure whether it works - for me it hangs, but I have known Radeon issues, it seems 2009-11-05 21:10:51 +00:00
dmidecode Blindly commiting a fix for dmidecode to build with gnumake 3.82 2010-09-14 08:45:15 +00:00
dmraid Adding dmraid 2009-09-20 08:38:30 +00:00
dmtcp * Update dmtcp to version 1.2.0. 2011-02-22 19:00:45 +00:00
e3cfsprogs
eject
exmap
ext3cow-tools
fbterm Fixing fbtermStdenv for cross building 2010-11-26 18:35:50 +00:00
firmware intel wifi 6000 firmware 2011-02-10 17:30:20 +00:00
fuse update fuse to 2.8.5 2011-01-31 09:42:41 +00:00
fxload
gw6c Gw6c tarball is now uncompessed.. Do not ask me why 2009-09-29 16:22:23 +00:00
hal Merging from trunk. I resolved some conflicts; I hope that well. 2010-10-23 14:52:21 +00:00
hdparm
hibernate
htop More meta.platforms 2010-08-13 23:11:58 +00:00
hwdata
i810switch * Get rid of many instances of "args: with args;", and other coding 2010-07-28 11:55:54 +00:00
ifplugd
iotop Adding IOtop 2010-11-23 07:46:18 +00:00
iproute Adding a patch which fixes vpnc 2011-02-24 12:04:00 +00:00
iptables * iptables updated to 1.4.10. 2011-02-25 14:48:53 +00:00
iputils * Updated iputils (though perhaps we should just use GNU inetutils). 2011-02-02 16:05:18 +00:00
iscsitarget added iscsitarget 2010-08-30 09:15:27 +00:00
iwlwifi
kbd Making bash and kbd cross-build 2010-11-25 09:14:56 +00:00
kernel Committing the aufs2.1 patch by Shea Levy. His comments: 2011-03-27 15:18:39 +00:00
kernel-headers pkgs/os-specific/linux/kernel-headers/2.6.28.nix: fix build errors with GNU Make 3.82 2011-01-06 11:33:20 +00:00
kernel-headers-cross * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
keyutils Adding ecryptfs, and one of its dependencies: keyutils. 2010-01-25 10:34:47 +00:00
klibc Trick to make klibc build for what we may use it for, at least. 2010-09-09 17:48:11 +00:00
kqemu Fix the cleanup-induced problems 2009-11-23 12:21:34 +00:00
kudzu * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
libcap Split libcap package 2010-09-27 13:49:13 +00:00
libcg libcgroup: library that abstracts the control group file system in Linux. 2010-07-09 13:15:51 +00:00
libnl libnl 1.x: packaged. 2011-01-03 17:02:47 +00:00
libnscd
libselinux libselinux: version bump 2011-03-27 04:45:38 +00:00
libsemanage libsemanage: packaged 2011-03-27 04:46:12 +00:00
libsepol remove useless builder 2011-03-27 04:45:33 +00:00
libsmbios * Latest libsmbios. 2009-09-28 15:33:42 +00:00
libvolume_id
lm_sensors * Latest lm_sensors. 2009-09-15 22:06:38 +00:00
lsiutil * Fixed the URL. 2010-07-06 09:29:05 +00:00
lsscsi Add lsscsi 2011-02-22 20:57:17 +00:00
lvm2 Updated from trunk. 2010-08-20 13:41:12 +00:00
mdadm * mdadm: Enable incremental activation of swraid arrays from udev. 2010-05-16 20:25:57 +00:00
mingetty Making sysvinit and mingetty crossbuild 2010-11-23 20:47:23 +00:00
module-init-tools * Module aggregator: use buildEnv, which is much faster because it 2009-04-20 19:13:40 +00:00
modutils
mountall Updating from trunk. 2010-09-17 19:10:21 +00:00
ndiswrapper * Add callPackage etc. 2010-08-02 13:57:57 +00:00
net-tools * Fix broken meta attributes. 2009-10-13 09:39:27 +00:00
nfs-utils Updating from trunk - I hope I fixed the conflict around gettext - I left it as 2010-11-26 14:40:39 +00:00
nss_ldap
numactl
nvidia-x11 * Sync with the trunk. 2011-03-14 18:26:46 +00:00
open-iscsi added open-iscsi 2010-08-30 09:40:44 +00:00
opengl/xorg-sys
ov511
pam Setting any stdenv.system references for the loongson2f system to 'mips64-linux'. 2010-09-01 09:50:12 +00:00
pam_ccreds pam_ccreds: to locally authenticate using an enterprise identity when the network is unavailable. 2010-08-06 08:50:58 +00:00
pam_console * Got rid of all --disable-static flags; they're redundant now. 2009-04-21 23:18:09 +00:00
pam_devperm
pam_krb5 pam_krb5: added version 2.3.11-1. 2010-08-06 08:49:05 +00:00
pam_ldap More metadata 2010-08-13 23:09:53 +00:00
pam_login pam_login: Really apply `sys-stat-h.patch'. 2010-04-28 12:37:06 +00:00
pam_unix2 Making pam_unix2 not link to libxcrypt under armv5tel, because libxcrypt does not build under it. 2010-02-04 18:40:54 +00:00
pam_usb Update pam_usb url. 2010-05-08 17:30:43 +00:00
pcmciautils
pm-utils update pm-utils to 1.3.0 2010-05-27 19:33:46 +00:00
pmount Update pmount 2011-01-31 18:58:49 +00:00
policycoreutils policycoreutils: packaged 2011-03-27 04:46:19 +00:00
powertop Updating powertop. 2011-03-18 20:44:35 +00:00
procps * Fix "Unknown HZ value" warnings. 2010-12-23 11:40:11 +00:00
psmisc pkgs/os-specific/linux/psmisc: updated to version 22.13 2010-10-25 14:38:45 +00:00
pwdutils * `--exec-prefix=$out/bin' causes programs to be installed in 2010-04-27 10:46:41 +00:00
qc-usb
qemu-kvm * qemu-kvm updated to 0.14.0. 2011-02-24 16:25:10 +00:00
radeontools * Get rid of many instances of "args: with args;", and other coding 2010-07-28 11:55:54 +00:00
rfkill * Added rfkill, a tool for controlling the wireless kill switch on 2010-04-21 11:21:15 +00:00
sdparm * sdparm: the previous URL was broken. 2009-04-16 12:23:53 +00:00
sepolgen sepolgen: packaged 2011-03-27 04:45:56 +00:00
shadow * Fix a hard-coded reference in `shadow' to /usr/sbin/nscd. This 2010-07-14 12:10:26 +00:00
splashutils * splashutils: use Glibc instead of klibc. 2010-06-01 16:36:07 +00:00
statifier Adding statifier, a tool to make pseudostatic binaries. Unfortunately, statified NixOS-built binaries segfault on Ubuntu.. 2009-07-09 21:34:29 +00:00
sysfsutils * Updated iputils (though perhaps we should just use GNU inetutils). 2011-02-02 16:05:18 +00:00
sysklogd
syslinux Advance syslinux version to 4.03. 2011-02-10 01:14:13 +00:00
sysstat * Updated sysstat to the latest stable version. 2010-12-01 12:28:37 +00:00
sysvinit Fixing the sysvinit crossbuild (now yes) 2010-11-26 20:08:14 +00:00
tcp-wrapper tcp-wrapper: Apply patches with `--batch' to please the latest GNU Patch. 2010-05-04 13:32:00 +00:00
tunctl Adding tunctl. I didn't know how to build the manpage, though. 2009-03-01 21:34:39 +00:00
uclibc Fixing the evaluation of cross built uclibc in the case of lacking extraConfig 2010-09-02 19:18:04 +00:00
udev * Udev updated to 166. 2011-02-11 13:30:39 +00:00
uml-utilities Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
untie Adding untie - a tool for manipulating namespaces 2010-11-23 07:52:57 +00:00
upstart * Upstart 0.6.7. 2011-02-10 12:34:29 +00:00
usbutils * Latest pciutils and usbutils, along with the latest PCI and USB IDs. 2010-07-21 12:01:57 +00:00
util-linux-ng The way how to build util-linux-ng for 'mount' to work on nixos changed. 2010-11-08 22:40:05 +00:00
wireless-tools update to 29 2009-12-25 19:30:56 +00:00
wis-go7007
wpa_supplicant wpa_supplicant: enable qt gui, deprecate old broken derivation building gui 2010-04-27 04:38:41 +00:00
wvdial * Get rid of many instances of "args: with args;", and other coding 2010-07-28 11:55:54 +00:00
xf86-input-wacom Adding myself as a maintainer since I want to keep this working, and applying the new style of license 2011-02-16 23:37:13 +00:00
zen-kernel * Move config-blocks.nix to zen-kernel where it's used. 2010-09-10 14:07:22 +00:00