Eelco Dolstra
ebd2b0e1ab
linux: Update to 3.2.31
2012-10-10 21:51:36 -04:00
Mathijs Kwik
8f480e3035
linux-3.6: upgrade to 3.6.1
...
- enable aufs3 patch
- check other patches needing upgrade/enable
2012-10-09 16:05:24 +02:00
Mathijs Kwik
2f39ec92e3
linux-3.5: upgrade to 3.5.6
2012-10-09 16:05:23 +02:00
Mathijs Kwik
76aa428ac6
linux-3.4: upgrade to 3.4.13
2012-10-09 16:05:23 +02:00
Mathijs Kwik
332c6de736
linux-3.0: upgrade to 3.0.45
2012-10-09 16:05:23 +02:00
Michael Raskin
396de23762
Enable V4L2 modules
2012-10-04 15:35:21 +04:00
Shea Levy
359355e150
Linux 3.6
2012-10-01 07:01:31 -04:00
Lluis Batlle
22e050f8c6
linux: In case of an ARM kernel build, add extra include directories
...
They are required in order to build some modules, like that of
cryptodev.
2012-09-23 19:59:37 +02:00
Eelco Dolstra
0874615fcc
Remove User Mode Linux
...
It hasn't built in a long time and it's obsolete IMHO.
2012-09-21 13:32:37 -04:00
Eelco Dolstra
50aac3247a
linux: Update to 3.2.30
2012-09-21 13:30:00 -04:00
Mathijs Kwik
ce3e42df72
linux aufs3: upgrade patch and utils to 20120827 for all 3.x kernels
2012-09-16 13:05:52 +02:00
Mathijs Kwik
7b92af45f8
linux-3.4: upgrade to 3.4.11
2012-09-16 13:05:52 +02:00
Mathijs Kwik
c9b24ba210
linux-3.0: upgrade to 3.0.43
2012-09-16 13:05:52 +02:00
Lluís Batlle i Rossell
95fa07e183
linux-3.5: Updating to 3.5.4
2012-09-15 21:57:05 +02:00
Eelco Dolstra
080c0a5c20
linux: Update to 3.2.29
2012-09-13 10:10:26 -04:00
Mathijs Kwik
d37b642769
newer kernels need cifs-utils to mount CIFS filesystems
...
the kernel itself (and busybox's cifs mount code) are no longer able
to do this in some/most cases and will error out saying:
"CIFS VFS: connecting to DFS root not implemented yet""
Nixos' qemu-vm target is hurt by this, as it wants to mount /nix/store
via cifs very early in the boot process.
this commit just marks the problematic kernels.
An associated commit in nixos will use this info to fix the problem.
2012-08-30 18:25:49 +02:00
Mathijs Kwik
6fabe047c6
linux-3.4: upgrade to 3.4.10
2012-08-30 18:25:49 +02:00
Mathijs Kwik
8f1a34e228
linux-3.5: upgrade to 3.5.3
2012-08-30 18:25:49 +02:00
Mathijs Kwik
192b29181b
linux-3.4: upgrade to 3.4.9
...
- aufs patch: upgrade to latest stable 3.4
2012-08-21 10:27:13 +02:00
Mathijs Kwik
6e9a6a5924
linux-3.3: upgrade to 3.3.8
...
- aufs patch: upgrade to latest stable 3.3
2012-08-21 10:26:44 +02:00
Eelco Dolstra
e91a4fb1e4
linux: Update to 3.2.28
2012-08-20 09:56:39 -04:00
Mathijs Kwik
03228d60fe
linux-3.5: upgrade aufs3 patch to latest stable
2012-08-16 12:00:25 +02:00
Mathijs Kwik
05ed13dc49
linux-3.5: upgrade to 3.5.2
2012-08-16 12:00:04 +02:00
Shea Levy
839c58f5b1
linux/manual-config: Cleanup
2012-08-11 21:21:06 -04:00
Shea Levy
9ac776ab22
linux/manual-config.nix: Set sourceRoot directly to the pre-unpacked source rather than using a symlink
2012-08-11 21:07:37 -04:00
Shea Levy
0c18551c93
linux/manual-config: Do source unpacking/patching in a separate derivation.
...
Since we keep the source in the kernel build anyway, no space is wasted by having a separate store path for the unpacked source. The upside is that the same source can be used to build the kernel multiple times, or generate configurations for later kernel builds, without going through the (fairly long) unpack and patch process multiple times.
2012-08-11 21:02:30 -04:00
Eelco Dolstra
e69a6c57bc
linux: Update to 3.2.27
2012-08-10 18:54:10 -04:00
Lluís Batlle i Rossell
691d069af9
perf: make it take the linux patches
...
Otherwise the previous patch I added does not get used for perf.
2012-08-10 10:03:53 +02:00
Lluís Batlle i Rossell
734bb84f09
linux-3.5: fix perf build with a patch from the perf mailing list
2012-08-10 09:41:43 +02:00
Mathijs Kwik
cbb2c3abf2
linux-3.5: upgrade to 3.5.1
2012-08-10 08:27:09 +02:00
Shea Levy
21a200d6b2
linux/manual-config: Fix depmod step, remove false comment
2012-08-07 06:36:50 -04:00
Eelco Dolstra
d6cc420fd7
linux: Update to 3.2.26
2012-08-06 09:57:21 -04:00
Mathijs Kwik
fb99c24d7c
kernel-3.5: add aufs3 patch
2012-08-05 01:55:31 +02:00
Shea Levy
1935f7e5b8
linux/manual-config: Add informative comment
2012-08-03 08:33:31 -04:00
Shea Levy
1b7264d349
linux/manual-config.nix: When stripping, use xargs -r in case CONFIG_MODULES=y but no modules are actually installed
2012-08-01 23:32:02 -04:00
Shea Levy
4aba2bb3f5
linux/manual-config: Use kernelPatches like generic.nix, not a plain patches list
2012-08-01 23:02:17 -04:00
Shea Levy
fd330e9315
linux/manual-config: Install the kernel with the name given in stdenv.platform.kernelTarget
2012-08-01 15:39:49 -04:00
Shea Levy
ad49d92899
linux/manual-config: When installing firmware, create the firmware directory prior to make *_install.
...
It is probably a kernel build system bug that this is necessary, but it's not really a big deal either.
2012-08-01 11:56:12 -04:00
Shea Levy
3f4fd55c63
linux/manual-config: Remove unnecessary quotation
2012-08-01 11:26:30 -04:00
Shea Levy
443b9bc936
linux/kernel/manual-config: use isDisabled instead of isNo in case FIRMWARE_IN_KERNEL is left unspecified
2012-08-01 11:21:32 -04:00
Shea Levy
3dbfca0d7f
linux/manual-config: Change from 'features' to 'config' and fix build when firmware is installed.
...
Instead of manually adding which 'features' a kernel has based on its config here, just generate a nixexpr representation of the whole config and let places that need it (e.g. NixOS modules) decide how to map config options to features.
Note that if your kernel requires firmware whose hex file sits directly in ${src}/firmware rather than in a subdirectory thereof, you may need this patch for now: https://lkml.org/lkml/2012/7/31/724
2012-08-01 06:18:03 -04:00
Mathijs Kwik
b5d4e8a17a
linux-3.4: upgrade to 3.4.7
2012-07-31 10:26:18 +02:00
Shea Levy
da4c64026a
linux/kernel/manual-config: Greatly simplify config parser
2012-07-29 15:54:31 -04:00
Shea Levy
298b5ccdab
linux/kernel/manual-config: Only import from derivation when explicitly asked to
2012-07-29 13:26:39 -04:00
Shea Levy
f0694a3151
linux/kernel/manual-config: Do all of the config file parsing in the imported-from derivation
2012-07-29 13:24:05 -04:00
Shea Levy
6585646d41
linux/kernel/manual-config: Add meta
2012-07-29 04:59:38 -04:00
Shea Levy
46fa5ab105
linux/kernel/manual-config: Relink the symlink from the build directory to the source directory after the source directory is moved
2012-07-29 04:56:56 -04:00
Shea Levy
f7b6f01da1
linux/kernel/manual-config: Cleanup
2012-07-29 04:52:34 -04:00
Shea Levy
98341e0bda
linux/kernel/manual-config: Use the kernel's make install
2012-07-29 04:48:50 -04:00
Shea Levy
a9a7085684
linux/kernel/manual-config: Allow manually specifying features, cleanup
2012-07-29 04:31:40 -04:00
Shea Levy
6bb20c7ba2
linux/kernel/manual-config: Strip modules after install
2012-07-29 04:23:28 -04:00
Shea Levy
6b18ab5365
linux/kernel/manual-config: Remove useless INSTALL_MOD_STRIP variable
2012-07-29 04:07:43 -04:00
Shea Levy
6e3b17feec
linux/kernel/manual-config: Run depmod after build
2012-07-29 04:01:40 -04:00
Shea Levy
48b5e8eee7
linux/kernel/manual-config: Build in a separate directory and move the build and source trees into $out
2012-07-29 03:49:52 -04:00
Shea Levy
e42a6c5f46
linux/kernel/manual-config: Move the build directory to $out instead of symlinking it
2012-07-29 03:27:09 -04:00
Shea Levy
a36456ca25
linux/kernel-manual-config: Simplify the lines.nix runCommand now that I know how to escape properly
2012-07-29 03:09:44 -04:00
Shea Levy
5a9d9f4f45
linux/kernel/manual-config: Properly escape makeFlagsArray and installFlagsArray
2012-07-29 02:57:58 -04:00
Shea Levy
471b4bc9bb
MODLIB needs to be passed directly to make
2012-07-29 02:49:31 -04:00
Shea Levy
aa40e0ff59
linux/kernel/manual-config: The default 'make install' tries to do something with LILO, so install the kernel manually
2012-07-29 01:57:59 -04:00
Shea Levy
dfa750732d
linux/kernel/manual-config: Properly set env vars referencing $out
2012-07-29 01:34:27 -04:00
Shea Levy
ff728a6365
The kernel build needs hostname and perl
2012-07-29 01:29:56 -04:00
Shea Levy
bf7467cbb1
Add first attempt at linux/kernel/manual-config.
...
The goal of this function is to make it possible to build a kernel with a user provided .config.
As a secondary goal, it will extract NixOS-relevant features from the config automatically.
As a tertiary goal, the build will aim to be simpler than the current generic kernel builder.sh.
Unfortunately, that simplicity is offset by the complexity of the feature extraction, especially since nix segfaults when trying to split the file into lines (so an import from a derivation is used)
2012-07-29 01:23:51 -04:00
Eelco Dolstra
1b0abce6de
linux: Update to 3.2.24
2012-07-26 11:32:53 -04:00
Shea Levy
8c9bef04a6
linux-3.5: Enable XEN_DOM0 support
2012-07-24 02:26:04 +00:00
Shea Levy
053f641d16
Add linux-3.5
2012-07-22 11:33:00 -04:00
Mathijs Kwik
f3b43a268d
linux-3.4: update to 3.4.6
2012-07-20 13:37:46 +02:00
Shea Levy
d04cbc85cf
linux-3.4: Update to 3.4.5
2012-07-16 20:26:27 -04:00
Eelco Dolstra
dc5ba23ab4
linux: Update to 3.2.23
2012-07-14 17:41:52 -04:00
Shea Levy
6bf409999f
linux-3.4: Add the improved transaction scheduler for USB 2.0
...
This is needed for new Apple trackpads
2012-07-14 12:17:28 -04:00
Shea Levy
685acc6ef8
Linux 3.4: Enable options to make b43 work with bcm4331
2012-07-13 22:48:43 -04:00
Eelco Dolstra
0b07259865
linux: Update to 3.2.22
2012-07-10 09:18:12 -04:00
Peter Simons
82b2588e35
Linux no-xsave.patch: commit patch into Nixpkgs since fetchurl no longer works
...
Patch submitted by Jan Malakhovski <oxij@oxij.org>.
2012-07-02 16:53:53 +02:00
Lluís Batlle i Rossell
876ff45fd5
linux perf: Allowing perf to build with its gtk interface.
...
Disabled by default, it can be enabled using overrides.
2012-06-27 22:23:15 +02:00
Mathijs Kwik
f97a277efc
linux kernel: 3.4.2 -> 3.4.4
2012-06-24 10:03:09 +02:00
Eelco Dolstra
023e8f2fb9
* Linux 3.2.21.
...
svn path=/nixpkgs/trunk/; revision=34570
2012-06-20 12:42:56 +00:00
Eelco Dolstra
6551b822af
* Enable devtmpfs since recent udev (systemd) versions need it.
...
svn path=/nixpkgs/trunk/; revision=34565
2012-06-19 19:10:54 +00:00
Eelco Dolstra
1582276602
* Drop some old obsolete kernels and unused patches.
...
svn path=/nixpkgs/trunk/; revision=34558
2012-06-19 15:56:17 +00:00
Eelco Dolstra
cf6db2bbac
* "powermanagement" is not a word.
...
svn path=/nixpkgs/trunk/; revision=34557
2012-06-19 15:01:49 +00:00
Lluís Batlle i Rossell
a5c2318d08
Fixing the mips patch for sigill fpu cases.
...
svn path=/nixpkgs/trunk/; revision=34527
2012-06-16 15:37:04 +00:00
Lluís Batlle i Rossell
3874e5812d
Adding two kernel patches for mips, that make the life easier on loongson2f
...
(less sigill, less sigbus). Related to bad handling of FPU instructions.
I apply them only to linux 3.4, although I think they can apply to many older kernels too.
svn path=/nixpkgs/trunk/; revision=34522
2012-06-16 10:49:03 +00:00
Eelco Dolstra
4cfe058218
* Linux 3.2.20.
...
svn path=/nixpkgs/trunk/; revision=34486
2012-06-12 22:27:55 +00:00
Mathijs Kwik
3d4ab75229
linux kernel headers: copy generated headers as well
...
as they are referenced from other kernel headers, this seems like the
best thing to do. Ubuntu seems to do so too.
Fixes issues with nvidia's binary driver and bbswitch on kernels > 3.3
svn path=/nixpkgs/trunk/; revision=34469
2012-06-11 17:41:11 +00:00
Mathijs Kwik
46beccef20
linux kernel aufs (needed for livecd): added to 3.4
...
upgraded 3.3 version to stable
svn path=/nixpkgs/trunk/; revision=34468
2012-06-11 17:41:05 +00:00
Lluís Batlle i Rossell
1697485678
Updating linux 3.4.1 to 3.4.2
...
svn path=/nixpkgs/trunk/; revision=34423
2012-06-10 15:24:28 +00:00
Lluís Batlle i Rossell
9ebd661fb8
Updating linux 3.4 to 3.4.1
...
svn path=/nixpkgs/trunk/; revision=34411
2012-06-09 20:25:48 +00:00
Eelco Dolstra
dd6ab8d7bf
* Linux 3.2.19.
...
svn path=/nixpkgs/trunk/; revision=34382
2012-06-08 13:11:38 +00:00
Lluís Batlle i Rossell
8805bf1ba5
'perf' wants flex and bison, since linux 3.4.
...
svn path=/nixpkgs/trunk/; revision=34210
2012-05-22 17:32:23 +00:00
Lluís Batlle i Rossell
5c393a469b
Adding linux 3.4.
...
svn path=/nixpkgs/trunk/; revision=34209
2012-05-22 15:29:51 +00:00
Eelco Dolstra
690051abbc
* Linux 3.2.18.
...
svn path=/nixpkgs/trunk/; revision=34198
2012-05-21 18:14:47 +00:00
Eelco Dolstra
da01b6db17
* Linux 3.2.17.
...
svn path=/nixpkgs/trunk/; revision=34073
2012-05-12 19:55:39 +00:00
Shea Levy
b64a1dac46
Linux 3.3.6
...
svn path=/nixpkgs/trunk/; revision=34070
2012-05-12 17:50:19 +00:00
Eelco Dolstra
196c30de9b
* Linux 3.0.31.
...
svn path=/nixpkgs/trunk/; revision=34036
2012-05-09 21:49:39 +00:00
Shea Levy
829e78f78f
Linux 3.3.5
...
svn path=/nixpkgs/trunk/; revision=34011
2012-05-07 22:24:35 +00:00
Shea Levy
497a4afe72
We no longer need the bootstub config patch
...
svn path=/nixpkgs/trunk/; revision=33987
2012-05-05 14:26:20 +00:00
Shea Levy
242e54dab6
Linux 3.3.4 (not compile tested, sorry
...
svn path=/nixpkgs/trunk/; revision=33956
2012-04-30 17:31:39 +00:00
Eelco Dolstra
7716976345
* Linux 3.2.16.
...
svn path=/nixpkgs/trunk/; revision=33908
2012-04-24 13:54:33 +00:00
Shea Levy
50a0b839af
Linux 3.3.3
...
This incorporates the btrfs fix, so remove that patch. Also, I will test
that this builds after committing, and fix it if it fails
svn path=/nixpkgs/trunk/; revision=33885
2012-04-23 00:12:47 +00:00
Nicolas Pierron
82b308bf11
Add armv7l support.
...
svn path=/nixpkgs/trunk/; revision=33798
2012-04-15 23:41:25 +00:00
Eelco Dolstra
73d98c07c2
* Linux 3.2.15.
...
svn path=/nixpkgs/trunk/; revision=33794
2012-04-15 16:23:08 +00:00
Lluís Batlle i Rossell
8ebd53f45f
Updating linux to 3.3.2
...
svn path=/nixpkgs/trunk/; revision=33779
2012-04-13 18:09:27 +00:00